Opened 5 years ago

Last modified 2 years ago

#18174 assigned defect

dojox/geo/openlayers/widget/map

Reported by: karzelek Owned by: dylan
Priority: undecided Milestone: 1.15
Component: Dojox Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:

Description

When creating an openlayers map widget of dojox/geo/openlayers the non-osm properties (like baseLayerOptions or openLayersMapOptions) are not passed through. In the method "buildRendering" only baseLayerType and baseLayerName are forwarded to the Map constructor.

Fix:

var map = new Map(div, {
	baseLayerType: this.baseLayerType,
	baseLayerName: this.baseLayerName,
	baseLayerUrl: this.baseLayerUrl,
	baseLayerOptions: this.baseLayerOptions,
	touchHandler: this.touchHandler,
	initialLocation: this.initialLocation,
	openLayersMapOptions: this.openLayersMapOptions
});

Change History (2)

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: set to dylan
Status: newassigned

comment:2 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.