Opened 13 years ago
Closed 13 years ago
#520 closed defect (fixed)
Commercial layers do not display if MapGuide Map Definition has no tiled layers
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | P1 | Milestone: | |
Component: | Widgets | Version: | |
Severity: | Critical | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
It seems the recent support for mixing Google/Bing/OSM layers with a partial/fully tiled Map Definition has broken the existing support for untiled Map Definitions.
Reproduction steps:
- Load Sheboygan Dataset
- Edit Sheboygan Map Definition's coordinate system to WGS84.PseudoMercator
- Create a new Fusion Application Definition
- Enable any commerical layer
- Preview the Application Definition
Results:
- [Any or all Bing Layers]: Bing map centered on USA, get error
Fusion Error: WARNING: Exception occurred in AJAX callback. Message: Invalid argument; input argument 'zoomLevel' must be a non-negative int value. Location: undefined (undefined) Response: {"sessionId":"e6a53734-6d76-11e1-8000-08002700dc35_en_MTI3LjAuMC4x0B060B050B04","mapId":"Library:\/\/Samples\/Sheboygan\/Maps\/Commercial.MapDefinition","metadata":null,"metersPerUnit":1,"wkt":"PROJCS[\"WGS84.PseudoMercator\",GEOGCS[\"LL84\",DATUM[\"WGS84\",SPHEROID[\"WGS84\",6378137.000,298.25722293]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Popular Visualisation Pseudo Mercator\"],PARAMETER[\"false_easting\",0.000],PARAMETER[\"false_northing\",0.000],PARAMETER[\"central_meridian\",0.00000000000000],UNIT[\"Meter\",1.00000000000000]]","epsg":900913,"siteVersion":"2.4.0.0","mapTitle":"Commercial","mapName":"Commercial4f5fff07906a0","backgroundColor":"#cdbd9c","extent":[-9769953.6613123,5417808.8801718,-9762220.7994439,5434161.2241864],"layers":[{"uniqueId":"6f703560-6d7b-11e1-8000-08002700dc35","layerName":"Roads","layerTypes":[1],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Roads.LayerDefinition","parentGroup":"6f65fc08-6d7b-11e1-8001-08002700dc35","selectable":false,"visible":true,"actuallyVisible":true,"editable":true,"isBaseMapLayer":false,"legendLabel":"Roads","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"24000"},{"uniqueId":"6f703560-6d7b-11e1-8001-08002700dc35","layerName":"Rail Lines","layerTypes":[1],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Tracks.LayerDefinition","parentGroup":"6f65fc08-6d7b-11e1-8001-08002700dc35","selectable":false,"visible":false,"actuallyVisible":false,"editable":true,"isBaseMapLayer":false,"legendLabel":"Rail Lines","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"24000"},{"uniqueId":"6f703560-6d7b-11e1-8002-08002700dc35","layerName":"Districts","layerTypes":[2],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Districts.LayerDefinition","parentGroup":"6f65fc08-6d7b-11e1-8000-08002700dc35","selectable":false,"visible":true,"actuallyVisible":false,"editable":true,"isBaseMapLayer":false,"legendLabel":"Districts","displayInLegend":true,"expandInLegend":true,"minScale":"10000","maxScale":"infinity"},{"uniqueId":"6f705c70-6d7b-11e1-8000-08002700dc35","layerName":"Buildings","layerTypes":[2],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Buildings.LayerDefinition","parentGroup":"6f65fc08-6d7b-11e1-8000-08002700dc35","selectable":false,"visible":true,"actuallyVisible":true,"editable":true,"isBaseMapLayer":false,"legendLabel":"Buildings","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"1500"},{"uniqueId":"6f705c70-6d7b-11e1-8001-08002700dc35","layerName":"Parcels","layerTypes":[2],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Parcels.LayerDefinition","parentGroup":"6f65fc08-6d7b-11e1-8000-08002700dc35","selectable":true,"visible":true,"actuallyVisible":true,"editable":true,"isBaseMapLayer":false,"legendLabel":"Parcels","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"10000"}],"hasDynamicLayers":true,"groups":[{"groupName":"Municipal","legendLabel":"Municipal","uniqueId":"6f65fc08-6d7b-11e1-8000-08002700dc35","displayInLegend":true,"expandInLegend":true,"parentUniqueId":"","visible":true,"actuallyVisible":true,"isBaseMapGroup":false},{"groupName":"Transportation","legendLabel":"Transportation","uniqueId":"6f65fc08-6d7b-11e1-8001-08002700dc35","displayInLegend":true,"expandInLegend":true,"parentUniqueId":"","visible":true,"actuallyVisible":true,"isBaseMapGroup":false}],"FiniteDisplayScales":[]}
- [Any or all Google Layers]: Sheboygan map shows, no google imagery available
- [Any or all OSM Layers]: Sheboygan map shows, no OSM tiles display. Firebug shows lots of 404 requests to tile.openstreetmap.org
As soon as you introduce a tiled layer into the Map Definition with a Google-compatible finite scale list. The commercial layers line up with the Sheboygan map.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
The problem is due to fractional zooming not being disabled in the presence of commercial and/or tiled MG layers.
The 2.2 branch had the correct logic for this.