SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    overlay html div on google map v3

    ive been using this code to overlay images on google maps

    marker.setMap(map);
    var image = 'images/marker.png';
    var myLatLng = new google.maps.LatLng(32.7551,-117.210000);
    var beachMarker = new google.maps.Marker({
    position: myLatLng,
    map: map,
    icon: image
    });

    var image = 'images/marker2.png';
    var myLatLng = new google.maps.LatLng(32.7551,-117.210000);
    var beachMarker = new google.maps.Marker({
    position: myLatLng,
    map: map,
    icon: image
    });
    var image = 'images/imagetext.png';
    var myLatLng = new google.maps.LatLng(32.7508,-117.257048);
    var beachMarker = new google.maps.Marker({
    position: myLatLng,
    map: map,
    icon: image
    });

    which works fine, but i was kinda hoping there was an easy way to add and html div onto the map with some cordinates, and be able to style it, and fill it with whatever content i like (which would include images and clickable links)

    anyone know how to do that?

    thanks

  2. #2
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •