i test it and it dos'ent worked
here my code

   <script src="js/elabel.js" type="text/javascript"/>
  <style type="text/css">
    .titlemarkerstyle {background-color:#ffffff;font-
weight:bold;border:2px #006699 solid;}
    </style>
    <script language="javascript" type="text/javascript">


i use an asp.net control for that

function addmarkerandcenter(lat, lon, thedate)
{
    var map = <%= GoogleMap1.ClientID %>;
// note here that i use an asp.net control that encapsulate google map
and i work perfectely without the elabel code


    var pt = new GLatLng(lat, lon);
    var marker = new GMarker(pt);

    map.clearOverlays();
  //  var html = "test";
    GEvent.addListener(marker, "click", function()
    {
    marker.openInfoWindow(html);
    });

    map.addOverlay(marker);
    var label = new ELabel(new GLatLng(lat, lon), "Utopia",
"titlemarkerstyle");
    map.addOverlay(label);


    map.setCenter(pt,  map.getZoom());


}

nothing happen whene i execute this code
if i remove the elabel part it work again


thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to