Commit Graph

13 Commits

Author SHA1 Message Date
euzuro
a52b1fc8f1 update moveTo() function to take the 'minor' argument
git-svn-id: http://svn.openlayers.org/trunk/openlayers@935 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-11 15:06:06 +00:00
euzuro
3b1545eadc if we cant translate our lonlat to px, then dont try to draw.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@909 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-07 12:22:01 +00:00
euzuro
ff0e83d0a0 bringing all changes from sandbox/euzuro/LayersReworking down into the trunk. this is a merge of r656:HEAD http://svn.openlayers.org/sandbox/euzuro/LayersReworking
git-svn-id: http://svn.openlayers.org/trunk/openlayers@806 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 23:16:26 +00:00
Schuyler Erle
ead31f6dc6 Added license headers to all JS source files.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@657 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 15:22:48 +00:00
euzuro
9a74fc1f7e update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@633 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 23:08:10 +00:00
euzuro
8ef2cc58d5 these layers are never base layers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@628 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 22:16:38 +00:00
euzuro
e06b157090 when we destroy a markers layer, remove all of its tiles. do not, however, destroy them... because they were not created here.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@541 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:08:15 +00:00
euzuro
8b7a22bc1f dont reinvent the wheel. use Util.js's array enhancer remove() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@535 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 14:50:17 +00:00
euzuro
7cc874d26b set the map variable when we add a marker to the markers layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@533 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 13:01:36 +00:00
euzuro
d4253603fb add a removeMarker() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@519 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:57:06 +00:00
euzuro
06cbeb2f11 fix for #60
conversions to/from lonlat/px need to take into account
the offset of the layersContainerDiv. 


I have introduced the following functions for converting
between layer and screen pixel values:

getLayerPxFromScreenPx() and getScreenPxFromLayerPx()

they are pretty self-explanitory.


I then renamed:

getPixelFromLonLat() and getLonLatFromPixel()

to:

getScreenPxFromLonLat() and getLonLatFroScreenmPx()

and added:

getLayerPxFromLonLat() and getLonLatFromLayerPx()


updates were made throughout the code, demos, and tests
so everything should still run smoothly.

-e-

git-svn-id: http://svn.openlayers.org/trunk/openlayers@329 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 18:45:50 +00:00
crschmidt
c0ec7f9a00 Change @require to @require:
git-svn-id: http://svn.openlayers.org/trunk/openlayers@326 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 17:17:22 +00:00
crschmidt
4917ecac34 Change Layer.Marker to Layer.Markers.
Closes #50.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@278 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 15:35:38 +00:00