Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combined pull request #138

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Combined pull request #138

wants to merge 15 commits into from

Conversation

kd7mrx
Copy link

@kd7mrx kd7mrx commented Jun 1, 2019

This pull request incorporates my own changes and those from several other contributors:

  1. Corrected map name OpenStreetOsmProvider => OpenCycleMapProvider in Testing/Demo.Docking so the UI matches what the code is doing.

  2. Corrected spelling of 'Sattelite' to 'Satellite' throughout. This affects the names shown in the Demo UIs and also any client which currently selects the OpenStreetMapQuestSatteliteProvider (sic) at initialization but improves consistency in the code and UI for the future.

  3. Incorporated the (very nice!) OpenStreetMapCustomProvider from JusteBlanc.

  4. Add an AddProvider interface in GMap.Providers so that applications can create their own private map provider classes and incorporate them at runtime without having to recompile the GMap.NET sources. I added lines to Demo.WindowsForms and Demo.WindowsPresentation that instantiate a new provider (named "OpenStreetMapPrivateProvider") that's pointed to my local tile server as an example.

  5. Changed "http:" to "https:" requests throughout OpenStreetMapProvider and its derivatives.

  6. Removed the dummy HTTP Referer header that was causing problems with OpenStreetMap's servers.

  7. Incorporated dwcullop's BuildInfo tool as a submodule and use it to construct a valid UserAgent string that identifies Gmap.NET.Core with the build version and date as the client making the request.

I realize this is a big bundle of mostly unrelated changes and therefore somewhat hard to review. Changes #1, #2, the AddProvider method from #4 and changes #5, #6 and #7 are visible as individual commits on my branch. Change #3 is merged directly from JusteBlanc's fork.

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

Successfully merging this pull request may close these issues.

1 participant