|
Ha Tim, Right. I guess i did not look hard enough. And i suppose it's clear enough. Relatively lots to be said about the OverviewControl though, maybe change this particular line in the overviewmap.html example anyway? var overview = new OpenLayers.Control.OverviewMap(options);into var overview = new OpenLayers.Control.OverviewMap({mapOptions:options});
Regards, Huub Tim Schaub wrote: In hopes that these links show up at the top of the google search results for OverviewMap, I'll gather doc links here:If you have trouble with the overview map control, please read: http://trac.openlayers.org/wiki/Control/OverviewMap If you want to set custom map options on the overview map control, find the bit on "Custom map options" on that page. http://trac.openlayers.org/wiki/Control/OverviewMap#Custommapoptions-projectionsextentsetc. If you like reading class documentation, please read: http://dev.openlayers.org/apidocs/files/OpenLayers/Control/OverviewMap-js.html If you want to see the bit where it describes the mapOptions property, click on the mapOptions property. http://dev.openlayers.org/apidocs/files/OpenLayers/Control/OverviewMap-js.html#OpenLayers.Control.OverviewMap.mapOptions If you want to learn by reading code and don't own a text editor, see http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js Specifically, you can read about the mapOptions property: http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js#L68 Or, if you look a few lines farther down, you can read about the constructor, which mentions the mapOptions property: http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js#L76 There, documented :) Tim Huub Fleuren wrote: |
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
