Editing own map with Potlach2
Tom Hughes
tom at compton.nu
Tue Apr 22 17:36:40 UTC 2014
On 22/04/14 18:04, Sergiu Radu wrote:
> I was explaining myself wrongly, so yes, I would like to edit my own map (as
> tile server) which is installed at http://embedded-systems.ro:1981
> I did setup the rendering server and the tile server there but no website
> (with authentication and search and so - like the osm site)
> Do I have to install everything from the Rails Port tutorial on the above
> mentioned mapserver, create the user for the web interface and then change
> application map url to localhost:1981 to be able to edit on that map?
You just need to either alter an existing layer to point at your tile
server or add an extra one which does. The existing layers are defined
in vendor/assets/leaflet/leaflet.osm.js and the actual map is created in
app/assets/javascripts/leaflet.map.js.erb with each layer being added.
Tom
--
Tom Hughes (tom at compton.nu)
http://compton.nu/
More information about the rails-dev
mailing list