euzuro
854a468373
add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +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
euzuro
875cfb20b6
for testing getPixelFromLonLat()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@325 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 16:44:41 +00:00
Schuyler Erle
e0bfdd2a97
Oops, moved HTML files but forgot to fix the reference to OpenLayers.js. Fixed.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@303 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 02:02:31 +00:00
Schuyler Erle
c90158a2d7
Moved all the HTML files into examples/.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@302 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 00:22:55 +00:00
crschmidt
8cb22b6b59
Change this to be /usr/bin/env, for more cross platformability. Hopefully.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@287 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:40:23 +00:00
crschmidt
69f06802ca
More better error handling
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@286 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:33:07 +00:00
crschmidt
29fc44105f
Remove line that was testing exception handling.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@285 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:27:17 +00:00
crschmidt
0e011e4584
Commit changes to proxy script. Specifically:
...
* add allowedHosts.
* Wrap all code in a try/except in case something breaks
git-svn-id: http://svn.openlayers.org/trunk/openlayers@205 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 03:29:43 +00:00
Schuyler Erle
3470045a93
Added proxy.cgi from Mk II(I).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@195 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 19:48:02 +00:00