Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: morb_au
[Submitted to the original trac issue database at 7.24pm, Wednesday, 18th November 2009]

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)

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 3.02am, Thursday, 19th November 2009]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant