openlayers_render_map now returns the $map array so I can do something like this in a node body and get a map:
$map = openlayers_render_map();
print "<div id='" . $map['id'] . "'></div>";
--------------------------------------
default center is now 0,0 with zoom = 2 for most of the world. let's be international friendly!
--------------------------------------
css change: OpenLayers control div needs a z-index of 1000 so it's always on top. We should use the idea of < 1000z-index in the map, >1000 ontop of the map
--------------------------------------
Most of my work was developing a system for organizing all our OpenLayers javascript objects. All our OpenLayers javascript objects now live in "Drupal.settings.openlayers.activeObjects"
--------------------------------------
Building out our the use of "rel" on html controls. Rel can be populated with multiple values like so: rel="key1:value2;key2:value2" just like css. We can use openlayersParseRel($(this).attr('rel')); to get these values back as an array
---------------------------------------
Various small bug fixes
---------------------------------------
Comments
Comment #1
phayes commentedMore Changes:
Drupal.settings gets replaced with every ajax / ahah call. So $('#' + wktFieldAddID).trigger('mousedown'); was wiping all our objects. activeObjects now sit in Drupal.openlayers.activeObjects
------------------------------
events now work for layers and maps. Details in the README.txt file
------------------------------
Comment #2
zzolo commentedMoved to: #432642: Development for 6-1.x