OpenStreetMap

Discussion

Comment from HannesHH on 3 September 2009 at 06:46

Elaborate if you really want help.

Comment from gozimmer - גו צימר on 3 September 2009 at 07:47

Yes thanks...
I work with google maps
They offer browse openstreetmap as an add on
the minute I log out of google my maps and then go back in the openstreetmap add on disappears.

Comment from HannesHH on 3 September 2009 at 08:25

Ah, now I seem to understand. You want to use http://convivial-web.com/blog/2009/01/openstreetmapmapplet.html for a public Google map so your visitors can choose to use the OpenStreetMap?
I am afraid that is not possible (I do not use Google so I might be wrong).

It would be not too hard to do using OpenLayers. OpenLayers is an open-source online map application (just like Google Maps). You can choose what maps it displays and allow users to switch between them. Check out http://openlayers.org/dev/examples/sundials-spherical-mercator.html as example of Google Maps AND OpenStreetMap data.

http://www.openlayers.org/

Comment from HannesHH on 3 September 2009 at 08:26

Forgot mention, you can switch the data by clicking on the + sign on the far right.

Comment from gozimmer - גו צימר on 3 September 2009 at 12:29

Thanks HannesHH

Comment from gozimmer - גו צימר on 3 September 2009 at 12:30

Dear HannesHH

So How do I make the openstreetmap stick on html snippts on the google my maps system It Just keeps on slipping...

Comment from gozimmer - גו צימר on 3 September 2009 at 12:31

Once I log out of google maps the openstreet map disappers

Comment from ToB on 3 September 2009 at 14:40

Doesn't the following work?
http://wiki.openstreetmap.org/wiki/Google_Maps_Example
you could also have a look at the page source of
http://87.106.29.46/expopark/?page_id=71#karte

Alternatively, you could also use OpenLayers,
http://wiki.openstreetmap.org/wiki/OpenLayers
which can also show Google maps, cf.
http://openlayers.org/dev/examples/google.html

Comment from gozimmer - גו צימר on 3 September 2009 at 18:21

Thanks ToB But im only half way done.
you can have a look at youl see the map http://gozimmer.net/

I just got this message from my support you might know how to help...
certainly you can, a good way to start with could be to check the template of the content of the hotel details page (closeupa.cgi), there we already display a single dot on the map, if you replicate the call "createmapmarker" (you find in that page) and then place it in a search result cycle (FOREACH statement) you can place one dot for each product.
The map can be placed anywhere, just make sure you transport the javascript dependencies of Google maps, consider also to take a look at Google Maps documentation for further guidance.

Thanks ill i need to do now is get the above done so i can see all my markings maps on the main map.

Can you help...

Log in to leave a comment