googlemaps snippet

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

googlemaps snippet

Postby diodorus » Fri Feb 27, 2009 4:27 pm

hello,

i enabled the googlemaps extension, configured with the api key, and put the snippet in a page. however, the result is:

Code: Select all
"<!-- snippet =googlemaps= is not defined because file doesn't exist -->"


what am i doing wrong?

thanks,
diodorus
diodorus
 
Posts: 15
Joined: Sun Feb 22, 2009 12:46 pm

Re: googlemaps snippet

Postby hansfn » Fri Feb 27, 2009 11:12 pm

You need to enable the snippet too - not just the admin page.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: googlemaps snippet

Postby Jacky » Sun Aug 09, 2009 4:02 pm

Googlemaps shows a map off Norway and nothing else, what am I doing wrong.
I entered the code like this: [[ googlemaps overlay=d2.kml ]] and it has to show the map of Delfzijl in the Netherlands.
The kml file is located in my images map, uploaded with pivotx by the way.
Please help me.
Jacky
 
Posts: 15
Joined: Wed Jul 09, 2008 1:19 pm

Re: googlemaps snippet

Postby hansfn » Sun Aug 09, 2009 7:17 pm

You have forgotten to set the lat and long parameter - the centre of the map isn't auto detected. (Or set the default latitude and longitude in the admin section for googlemaps.)
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: googlemaps snippet

Postby Jacky » Sun Aug 09, 2009 9:18 pm

Okay .. and how do I know does things, google map details ?
Jacky
 
Posts: 15
Joined: Wed Jul 09, 2008 1:19 pm

Re: googlemaps snippet

Postby hansfn » Mon Aug 10, 2009 8:18 am

You can find the latitude and longitude in many ways. If the location/city/whatever is described in WikiPedia, you can find it there. If not, right clicking in Google Maps and selecting "What's here?" will put the coordinates in the search field (or you can click the green pointer).
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: googlemaps snippet

Postby Jacky » Mon Aug 10, 2009 8:30 pm

Okay thanx, I'll try that.

12-08: :D Just wanted to let you know that it works.
Jacky
 
Posts: 15
Joined: Wed Jul 09, 2008 1:19 pm


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests

cron