[OpenLayers-Users] Problem adding a layer on top of google mapsbase layer
Arnd Wippermann
arnd.wippermann at web.de
Fri Jun 14 09:38:47 PDT 2013
Instead of this
arcgis.projection = proj2277;
arcgis.restrictedExtent = extent;
arcgis.initialExtent = extent;
arcgis.maxExtent = extent;
use only
arcgis.projection = "EPSG:3857";
You have to tell the arcgis server, in which projection you want to get the
layer.
But you can't take "EPSG:900913", but the alias "EPSG:3857".
Arnd
-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von cwalker67
Gesendet: Freitag, 14. Juni 2013 17:06
An: openlayers-users at lists.osgeo.org
Betreff: Re: [OpenLayers-Users] Problem adding a layer on top of google
mapsbase layer
Thanks Gery, but i'm still not sure I see an apples to apples example.
One of the maps in my example uses the projection "epsg:2277" and displays
some information specific to a small area in mid texas.
for the google base layer, i convert the extents from the arcgis server map
and set them in that map. This part seems to work as the google street view
shows the right area in the display.
My problem seems to be reprojecting the "epsg:2277" map on top of the google
base layer. Do you see any errors in the code I posted?
Thanks,
Charlie
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Problem-adding-a-layer-on-top-of-google-
maps-base-layer-tp5060179p5060220.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list