On Feb 17, 12:49 pm, "[email protected]" <[email protected]>
wrote:
> On Feb 17, 11:22 am, paki ch <[email protected]> wrote:> sorry this is the 
> link which i was talking abt
>
> >http://www.ezstate.com/beta/index.php?content=cat_listings&cat_id=4
>
> > please check and suggest me how can i make the marker appear in the center.I
> > use the optional size parameter bt it doesn make any difference.
>
> That's funny.  It works for me in a local copy of your page.
>
> Don't see it there:
> <script type="text/javascript">
>     //<![CDATA[
>     var map = new GMap(document.getElementById(33));
>
>         var longitude = document.getElementById('longitude').value;
>         var latitude = document.getElementById('latitude').value;
>
>     map.centerAndZoom(new GPoint(longitude, latitude), 3);
>         //map.addControl(new GLargeMapControl());
>         var point = new GPoint(longitude, latitude);
>         var marker = new GMarker(point);
>         map.addOverlay(marker);
>     //]]>
>     </script>
>
> Also, GMap is not the same as 
> GMap2:http://code.google.com/apis/maps/documentation/upgrade.html#Upgrade
>
> Also, you redefine the "map" variable for all the maps on your page;
> you should make it unique for each map (i.e. var map33).

Your html is invalid:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ezstate.com%2Fbeta%2Findex.php%3Fcontent%3Dcat_listings%26cat_id%3D4&charset=%28detect+automatically%29&doctype=Inline&group=0

No DOCTYPE
No html
No head
No body
...


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