Wow this came out looking horrible. Reposting in a cleaner format. First, here is the link. http://shadowbox.thruhere.net/gmap
Secondly, its not the GMap JQuery plugin. This is one I'm writing myself. Third. Even though I'm using JQuery its a very thin wrapper around the Google Map API objects. Its mainly just functions so that the GMapAPI is hidden from the end code. So when I say map.addMarker(...) it will at the deepest level add the official GMarker object to the official MarkerManager object (all the _GClassName classes are just thin wrappers) Fourth. I tried adding refresh() in the function that allows me to add a single marker and it made no difference. On May 13, 8:34 am, Xander <[email protected]> wrote: > First, thanks for the responses. Second I uploaded a version that isn't > working in FF 3.0.10 in Ubuntu 9.04 (don't know about other platforms) > > This is a question about JQuery's mapping add-on rather than the Maps > API. > > >>> Its not jQueries as I wrote this myself. > >>> However: when you use the marker manager, does addMarker merely add > >>> the marker to the manager? > >>> in gmap.jquery.js there are a couple of very thin wrappers around GMap, > > GIcon, and GMarker.>>> When you add a new marker it is in essence adding a > GMarker directly to > > the MarkerManager object. > > Do you need to refresh the marker manager in order to show the marker on the > map? How do you do that in JQuery? > Have you tried that?>>> according to the documentation you only need to > refresh on addMarkers > > not addMarker. But I can add it and check. > > >>> Also yes this is being made as a jquery plugin but its important to know > > that jquery is working merely as a wrapping interface. > > >>> you can see this in gmap.jquery.js > > (Things would be easier if you linked to a page which didn't work! At > least Firebug makes it possible to change options on-the-fly) > > >>> donehttp://shadowbox.thruhere.net/gmap > > On Wed, May 13, 2009 at 6:21 AM, Andrew Leach <[email protected] > > > wrote: > > > On May 13, 6:31 am, TheShadow <[email protected]> wrote: > > > I have checked everything I can I can't find a reason why when I use > > > MarkerManager the markers don't show up when I click on the map. > > > This is a question about JQuery's mapping add-on rather than the Maps > > API. > > > However: when you use the marker manager, does addMarker merely add > > the marker to the manager? Do you need to refresh the marker manager > > in order to show the marker on the map? How do you do that in JQuery? > > Have you tried that? > > > (Things would be easier if you linked to a page which didn't work! At > > least Firebug makes it possible to change options on-the-fly) > > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
