I'm assuming you are following the app development directions here:
http://code.google.com/apis/maps/articles/tutorial-iphone.html - if
you are using the native MapView, then you are asking in the wrong
place.

Start with just making this work in your desktop browser. The easiest
way to add markers dynamically is to attach a click event handler to
the map. As part of the mouse event data, you'll get the LatLng that
was clicked. You use that to create your marker.

Chad Killingsworth

On Oct 20, 12:09 pm, Greg Davis <[email protected]> wrote:
> Okay so I am designing a webapp for the iPhone (or any device that
> supports them) and I am trying to embed a user editable map. Here is
> really what I would like
>
> A page with the title "HotSpots"
> Two options on this page:
> - View Map
> - Add HotSpot
>
> Under view map I would like the users to see all of their HotSpot
> locations as markers
>
> Under Add HotSpot I would like users to have the option to add their
> location either by the GPS on their phone or by entering an address. I
> would like them to have the option.
>
> As of right now I have an HTML doc with some Java that essentially just
> shows the user their location. How do I allow them to add markers?
>
> Would it be easier to allow them to add markers in map view? Or would
> it be easier to have them add it from a separate page?
>
> Please help me and any coding at all that you can give me would be
> amazing. I am not too great at coding and could use a lot of help here.
> Thanks again!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to