Well you could add an identification to the Marker by extending the Marker class. Then you could give each marker any information you want. If you keep track of the markers you need to later remove it is just a matter of flipping through that particular array and calling Map.removeOverlay();
Jonathan On Aug 25, 12:30 pm, erik liddell <[email protected]> wrote: > Well there is actually a way to retrieve users lat and lon in flash as im > compiling air for android. Obviously i would have to store my markers in an > array but that doesn't solve removing a set of markers if there is no way to > identify a specific marker with the google maps api > > On Aug 25, 2010 12:24 PM, "Jonathan Wagner" <[email protected]> wrote: > > Hey Erik, > > 1.) There is no way to retrieve the user's location within the flash > API. Essentially what you will have to do is make a JS call from flash > to retrieve the location. The best method for doing this is outline > here:http://code.google.com/apis/maps/documentation/javascript/basics.html... > > 2.) With a marker you can use Marker.setLatLng(LatLng), that would let > you change the location of the marker. If you need to wipe only a > specific group of markers on a regular basis, I would recommend using > an array and storing references and then using that to help clear the > appropriate markers. > > Jonathan > ScribbleMaps.com > > On Aug 21, 1:18 pm, "liddell.erik" <[email protected]> wrote:> I am new > to the google maps AP... > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API For Flash" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api-for- > flash%[email protected]> > . > For more options, visit this group > athttp://groups.google.com/group/google-maps-api-for-flash?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
