On Sep 30, 7:33 am, M1ke <[email protected]> wrote:
> Hi guys,
>
> I am new to google maps api and I have little web development
> experience. I want to create a google map on my website with markers
> on it. I know that this is very easy for you, but I am just not able
> to create markers on my own. I loaded the map and centered it, as it
> was described in the v3 tutorial. Now I want to add some Markers, but
> I dont know how. Can somebody please tell me where to put a really
> basic Marker Constructor?
>
> I found Marker(opts?:MarkerOptions) in the google api. And it needs
> the option "position". So where do I put the constructor and how can I
> create a Marker? var marker = new Marker (51.38001,10.627441); ?

Do these help?
>From the documentation:
marker:
http://code.google.com/apis/maps/documentation/javascript/examples/marker-simple.html
marker with infowindow:
http://code.google.com/apis/maps/documentation/javascript/examples/infowindow-simple.html

examples that I translated from Mike Williams' v2 tutorial (still a
good read...):
http://www.geocodezip.com/v3_MW_example_map1.html
http://www.geocodezip.com/v3_MW_example_map2.html
http://www.geocodezip.com/v3_MW_example_map3.html

  -- Larry
>
> Sorry, I am really a newbie... :/
>
> Mike

-- 
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