8 of 8
8
Geocoding
Posted: 19 May 2008 11:09 PM   [ Ignore ]   [ # 127 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1398
Joined  01-05-2007

So is there anything I’m missing here?

I have this code -

{exp:weblog:entries weblog="geomap" limit="1"}
    {location_geo_raw}
        {latitude}
, {longitude}
    {
/location_geo_raw}
{
/exp:weblog:entries}

Which outputs the co-ordinates correctly.

BUT if I use this code -

{exp:weblog:entries weblog="geomap" limit="1"}
    {location_geo width
="400px" height="200px"}
{
/exp:weblog:entries}

I get nothing at all.

Do I need to add the Google API key at the top or anything else to my template to get this working?

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 09 June 2008 02:30 AM   [ Ignore ]   [ # 128 ]  
Research Assistant
RankRankRank
Total Posts:  929
Joined  03-25-2005

Do I need to add the Google API key at the top or anything else to my template to get this working?

No, on mine if I view source the key is added automatically. Try without width/height and see if default works…

 Signature 

BKDesign Solutions - Learn XHTML and use Web Standards to build accessible websites that validate

Profile
 
 
Posted: 08 July 2008 03:45 AM   [ Ignore ]   [ # 129 ]  
Grad Student
Rank
Total Posts:  33
Joined  02-07-2006

Great extension. Just wondered if there’s an easy way of using it on multiple sites using the Multiple Site Manager - works fine, apart from I need to supply a different API key for each site, since they’re on different domains? All works fine apart from I get the popup from Google telling me it’s the wrong API key, if I’m not on the original site.

Profile
 
 
Posted: 14 July 2008 12:05 PM   [ Ignore ]   [ # 130 ]  
Grad Student
Rank
Total Posts:  33
Joined  02-07-2006

OK, So I worked out that I can override the key with the key="” parameter in the templates of one of the sites, so that shouldn’t be an issue. Only problem now is that I can’t see the maps in the control panel when I’m not editing the first site I set up. Any ideas?

EDIT: Just partly sorted this out - turns out that (on my site at least) if the field isn’t set to show by default, then the map editing widget comes up without any map tiles showing. Weird, but manageable.

Now I’m coming up against the problem that the maps don’t seem to show on the front end, even though they do on the backend. Not quite sure why, just not outputting any markup in these new templates.

Profile
 
 
Posted: 22 August 2008 08:57 AM   [ Ignore ]   [ # 131 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  309
Joined  05-11-2005
sneers - 11 January 2008 10:05 AM

I just ran into a little trouble: with GeoCoordinates installed the Edit Categories link in the Publish form disappears. Anyone else experience this? Or could it be a combination of other factors and/or installed extensions?

Thanks for this extension, Mark!
I, too, am having the same issue that sneers reported. Edit categories now gone. Any suggestions on a code edit that can bring this back? Would love to be able to have both the map and edit categories working ok.

 Signature 

Websites with impact. Websites that substantially grow your business.
http://www.designbyreese.com

Profile
 
 
   
8 of 8
8
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 60972 Total Logged-in Users: 22
Total Topics: 73686 Total Anonymous Users: 13
Total Replies: 397486 Total Guests: 447
Total Posts: 471172    
Members ( View Memberlist )