lightrefracted / gmaps-utility-gis

Automatically exported from code.google.com/p/gmaps-utility-gis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Level an center Exception when using agsjs.layers.GoogleMapsLayer with arcgis v=3.3

GoogleCodeExporter opened this issue · comments

When I change the arcgis jsapi from 3.0 to 3.3 version in example "Google Maps 
Layer.htm" under tag 3.4, the initial level of the map goes wrong( level=20, 
center=0.00..  0.00). It seems like that the initExtent set on map no longer 
has any effect.

That's to changge 

<script type="text/javascript"   
src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3">        </script>

to

<script type="text/javascript" 
src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3">
 </script>

What the reason and how to solve? 

Original issue reported on code.google.com by gaobb...@gmail.com on 7 Apr 2013 at 8:46