Have you considered using Custom Overlays? They will allow you to draw
DIVs on the map

http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays

Alternitavely - You can use Custom Markers as Chad suggested - but
back-end code to generate these markers (i.e. with people's photos).
This will raise the complexity of your code, and require you to use a
server-side language such as PHP, ASP.NET, Java etc.

You have a few options here.


On May 24, 5:52 am, stefan <stefan.firnham...@gmail.com> wrote:
> hey, thanks for the fast reply chad!
>
> i cannot offer you a link to a site, because i currently run it on my
> localhost =/
>
> but all i wanna do is assign a div tag to a specific location on the
> map
>
> js:
>
> var myLatlng = new
> google.maps.LatLng(51.501743821453736,-0.14046192169189453);
>
> var myOptions = {
>     zoom: 13,
>     center: myLatlng,
>     mapTypeId: google.maps.MapTypeId.ROADMAP
>
> }
>
> var map = new google.maps.Map(document.getElementById("map_canvas"),
> myOptions);
>
> //i wanna take this div tag and set it to "51.506209, -0.146796"
> var div = '<div style="background-color:#fff;padding:3px;border:1px
> solid #000;"><img src="/pic1.jpg" border="0" /></div>';
>
> any ideas? custom markers let you use only images =/
>
> --
> 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 google-maps-js-api...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to