Select to view content in your preferred language

Google Street View with Web Mercator

756
3
05-18-2010 10:42 AM
TedLucas
New Contributor
I am pretty new to the Flex API. 

Trying to figure out if I can take an existing application that has Google Street View Integrated using WGS84 Basemaps, change my base maps to the web mercator projection (102100) and have my street view work.

At this point I have not had much luck.

Any insight on this would be greatly appreciated.

Thanks,

Ted
Tags (2)
0 Kudos
3 Replies
Drew
by
Frequent Contributor
You will have to project the MapPoint to WGS84 then send it do the google street view component.
You can learn more about projecting a point in the online sample linked below.
http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html?sample=ProjectPoint

You will have to create your own Geometry Service in your ArcGIS server or use the ESRI on as demonstrated in the sample.

Drew
0 Kudos
DasaPaddock
Esri Regular Contributor
You can also use the WebMercatorUtil to convert between WGS84 and Web Mercator:
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/utils/WebMercatorUtil.html
0 Kudos
TedLucas
New Contributor
Thanks I will dig a little deeper into this issue and try to more effectively utilize the WebMercatorUtil.
0 Kudos