Opened 10 years ago

Closed 10 years ago

#2476 closed enhancement (fixed)

Add Nearmap to the list of layer types (or as a URL parameter) in Potlatch

Reported by: morb_au Owned by: richard@…
Priority: minor Milestone: Wishlist
Component: potlatch (flash editor) Version:
Keywords: potlatch nearmap url Cc:

Description

As per: http://nearmap.lefora.com/2009/11/12/edit-the-map-instructions/page1/#post15793209

Can Nearmap be accommodated in Potlatch in a more integrated manner? For example, can it be added as one of the preset layer types like "OSM - Mapnik" or the "UK historic:"s (my own preference)? And/or can an extra URL parameter be added to Potlatch invocation so that Potlatch can be called with the Nearmap layer already chosen (johnsmith's preference)?

API details are in: http://wiki.openstreetmap.org/wiki/NearMap and/or http://nearmap.lefora.com/2009/11/18/integrating-imagery-in-web-applications/page1/#post15812262. Ben Last is probably the most authoritative source of info there.

I've decided to add a ticket for this so that "anyone" can contribute a patch and it's not just up to Richard.

If you use my preference (and the UK historic layers are a precedent here), here are some of the obvious places to make changes:

http://trac.openstreetmap.org/browser/applications/editors/potlatch/potlatch.as > openOptionsWindow() > box.background.init() (line 1041), and var tileurls (line 151).

http://trac.openstreetmap.org/browser/sites/rails_port/config/potlatch/locales/en.yml (and other locales)

Change History (2)

comment:1 Changed 10 years ago by Richard

Good idea, will do it some time when I'm a bit more awake.

comment:2 Changed 10 years ago by Richard

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.