... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More Maps
#1
In the latest prerelease I've added a mechnanism to centrally manage online map sources and to allow users to define and use arbitrary own map sources.

This works as follows:
  • RouteConverter is searching below %USER_PROFILE%\.routeconverter\tileserver for XML files, which conform to the XML-Schema http://api.routeconverter.com/v1/schemas...er-catalog
  • The file defaults.xml contains the map sources that RouteConverter displays in the map selector by default.
  • It is a good example how an own file should be structured such that it is accepted by RouteConverter.

The following example should be self-explanatory for users that know online map sources:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<catalog xmlns="http://api.routeconverter.com/v1/schemas/tileserver-catalog">
  <tileServer id="OSM Street" name="OpenStreetMap rendering of OpenStreetMap data" minZoom="1" maxZoom="19" copyright="OpenStreetMap">
      "http://" + getOpenStreetMapServerIndex() + ".tile.openstreetmap.org/" + zoom + "/" + coordinates.x + "/" + coordinates.y + ".png"
  </tileServer>
</catalog>
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)