开发者

Google maps points to the correct location but does not show the location name

I create a Google map for my site using the API. It points to the correct location but the problem is it does not show the location name.

See: http://myrtlebeachsweeps.com/ticket/angelos-steak-and-pasta . Zoom-in. Notice that the map shows the name of Cancun Lagoon Golf but it does not show the name of Angelo's.

This direct Google maps link shows the correct location and the name. Both locations are the same but it does not show the location name in my site.

Please help.

Update:

(From the OP) Link to the main JavaScript used.

Map activating code:

<script type="text/javascript">
    function LoadMapSearchControl() 
    {
        var options = { //zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL, // url : "http://www.google.com/corporate/index.html", idleMapZoom : 16, //activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM }
        new GSmap开发者_Go百科SearchControl( document.getElementById("mapsearch"), "<? echo"$cmpyaddress"?>", options ); 
    }
    GSearch.setOnLoadCallback(LoadMapSearchControl); 
</script>


The Maps API and Google Maps use different tile sets.

See http://code.google.com/apis/maps/articles/yourfirstmap.html section 3.5

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜