timwaters / mapwarper

free open source public map georeferencer, georectifier and warper
http://mapwarper.net
MIT License
196 stars 80 forks source link

QUESTION - Changing Base Map Layer #96

Closed spatialsteve closed 8 years ago

spatialsteve commented 8 years ago

I am trying to adjust the base map used in mapwarper, is this the correct file to adjust so I can include my own xyz base layer to replace the current OSM layer?

https://github.com/timwaters/mapwarper/blob/2b896f13dd4270c6531b533eb2dd506f93d86b98/app/assets/javascripts/layers.js

If so, would anyone mind assisting me with working out the Openlayers2 code to achieve this?

timwaters commented 8 years ago

You might also be interested in the wikimaps_new branch where I've added a control for users to add a custom XYZ layer to the warp view