views:

31

answers:

0

I just recently started dabbing into GoogleMaps this week.

Anyway, I just recently was able to add MarkerManager to my code and I have it up and running. Now my question comes as this.

Is it possible to use the SideBar to do the following? Or any other method of doing the following would help as well. Here is what I need to accomplish: 1. Include the Name that is automatically assigned to the marker when you call the new GMarker. I am sure that it has to store this somewhere but I haven't seen anywhere where I can actually call the ID of the GMarker.

  1. Include the lat and lon of the point which I had created as a new GLatLon().

  2. Include the Marker Type which is used to determine what Icon I have assigned to it, or some way to pull the IconType from the Marker on the GMarker.

  3. Provide a link/links to call a function that I can use to both change the marker icon and add it to my other array? I have each type of Marker stored in their appropriate array. What I am trying to accomplish is to allow a user to change certain Markers to that of another type, and remove them from my MarkerManager of the old type and move them to the new MarkerManager of the new type.

I am wanting to pop up a window for the current marker and hopefully have some way of clicking a link or something in the window for them to change these marker types. I'm just not sure if it is possible to do it this way or not?

And finally do you actually have to show the side bar?