Changeset 11329 in josm for trunk/test


Ignore:
Timestamp:
2016-11-27T10:42:36+01:00 (3 years ago)
Author:
simon04
Message:

see #13201 - OsmUrlToBounds: also take Geo URLs into account

This adds Geo URL support to various actions, such as:

  • Download dialog
  • Jump to Position
  • Commandline parameters (OSM or GPS download)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/OsmUrlToBoundsTest.java

    r11317 r11329  
    3939    private static final ParseTestItem[] parseTestData = {
    4040        new ParseTestItem("https://www.openstreetmap.org", null),
     41        new ParseTestItem("geo:12.34,56.78?z=9",
     42                OsmUrlToBounds.positionToBounds(12.34, 56.78, 9)),
    4143        new ParseTestItem("https://www.openstreetmap.org/?bbox=-0.489,51.28,0.236,51.686",
    4244                new Bounds(51.28, -0.489, 51.686, 0.236)),
Note: See TracChangeset for help on using the changeset viewer.