euzuro
|
1d60e57e58
|
oops. forgot a comma
git-svn-id: http://svn.openlayers.org/trunk/openlayers@440 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:44:04 +00:00 |
|
euzuro
|
14ddfc21f3
|
If no icon value is passed to marker constructor, assemble a default icon
git-svn-id: http://svn.openlayers.org/trunk/openlayers@438 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:42:46 +00:00 |
|
euzuro
|
5d797ca9f9
|
remove data from marker
git-svn-id: http://svn.openlayers.org/trunk/openlayers@411 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 23:20:39 +00:00 |
|
euzuro
|
9b12c728d4
|
fix for #66
git-svn-id: http://svn.openlayers.org/trunk/openlayers@403 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 16:01:46 +00:00 |
|
euzuro
|
1e6f88fffa
|
'this'. not 'marker'... cut/copy/paste from im discussion.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@391 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 03:17:47 +00:00 |
|
euzuro
|
f115b797a3
|
Changed around the order of arguments for createImage, createDiv, and createAlphaImage. bubbled out helper function OpenLayers.Util.modifyDOMElement() to handle common mods. Official order now is: id, px, sz, imgURL, position, border[, overflow]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 01:23:11 +00:00 |
|
euzuro
|
baf1259064
|
take data in Marker's constructor, and if it has a valid data and the data has a valid loadEvents() function, then call it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@370 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 18:00:38 +00:00 |
|
euzuro
|
4392921aeb
|
the same code is executed in moveTo(). might as well use it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@368 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:22:31 +00:00 |
|
euzuro
|
935476dff5
|
marker doesnt have a this.div - it has a this.image
git-svn-id: http://svn.openlayers.org/trunk/openlayers@367 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:20:45 +00:00 |
|
euzuro
|
e251d93d6d
|
give marker back its data member
git-svn-id: http://svn.openlayers.org/trunk/openlayers@366 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:18:03 +00:00 |
|
euzuro
|
163e0a8419
|
markers are no longer supposed to have associated data
git-svn-id: http://svn.openlayers.org/trunk/openlayers@297 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-23 19:08:00 +00:00 |
|
euzuro
|
08e7a5f10f
|
update Control, Marker, and Popup such that they all have draw(px) and move(px) functions. standardization. update tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-22 12:50:09 +00:00 |
|
euzuro
|
d2c18d4de7
|
rename 'object' to 'image', coding standards, remove duplicate declaration of 'events'
git-svn-id: http://svn.openlayers.org/trunk/openlayers@251 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-22 11:09:27 +00:00 |
|
euzuro
|
7f11d01e87
|
changing function name from generateMarker to draw() to remain consistent with other areas of the code. (specifically OpenLayers.Control, whouses the draw() function to render the control and return a link to the div)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@249 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-22 10:50:35 +00:00 |
|
crschmidt
|
e7c6d4df19
|
Change order of Marker creation from icon, latlon to latlon,icon. I don't know why I would have done it the other way.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@215 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-20 20:39:33 +00:00 |
|
crschmidt
|
26c2b6651b
|
Remove temporary hacks from Marker.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@199 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-20 01:08:46 +00:00 |
|
crschmidt
|
9685524e26
|
Change position to absolute, and round pixel values. This puts markers back in their place.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@196 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-19 21:36:56 +00:00 |
|
crschmidt
|
213055fdaa
|
Repeat after me: Test first, then commit. Test first, then commit. Test first, then commit.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 11:25:58 +00:00 |
|
crschmidt
|
575474654b
|
Create a single HTML object, and modify its style attributes to move it whenever generate is called -- this will hopefully allow us to add events to it. Note that the event registration in this code currently fails: wehn triggerEvent is called, this.listeners['click'] is called, which is something I have not yet been able to fully understand.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@133 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 11:22:49 +00:00 |
|
euzuro
|
bb55859445
|
remove unused diff and diffABS functions from OpenLayers.Pixel
git-svn-id: http://svn.openlayers.org/trunk/openlayers@129 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 05:19:51 +00:00 |
|
euzuro
|
2086a1ad95
|
add 'offset' member to OpenLayers.Icon - and then use it in OpenLayers.Marker
git-svn-id: http://svn.openlayers.org/trunk/openlayers@127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 05:04:06 +00:00 |
|
euzuro
|
19e6574395
|
coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@126 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 04:56:06 +00:00 |
|
euzuro
|
5d80d71f21
|
JSDOC and small update to use Pixel diff code
git-svn-id: http://svn.openlayers.org/trunk/openlayers@123 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 04:37:31 +00:00 |
|
crschmidt
|
4d0f98f4fe
|
Add working code for Markers -- marker layer and marker object. Also add markers.html to demo use of markers functionality.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@107 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 17:21:57 +00:00 |
|
crschmidt
|
1720fee550
|
The layer adds the marker to the div. Therefore, some of the code needs to move into the layer: the marker needs to know how to generate an HTML object that will represent it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@102 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 16:20:08 +00:00 |
|
euzuro
|
6f242f5746
|
Replace all instances and usages of LatLon to LonLat
git-svn-id: http://svn.openlayers.org/trunk/openlayers@99 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 15:51:37 +00:00 |
|
euzuro
|
8b6348c7b2
|
add 'data' member to Marker class
git-svn-id: http://svn.openlayers.org/trunk/openlayers@89 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 13:02:34 +00:00 |
|
crschmidt
|
66edc6dcb7
|
Fill out more of Icon and Marker classes. In the XP world, supposedly we test first -- and I actually did in this case. Kind of a nifty trick: you work out what the function is supposed to do solely from the tests you want to write, and then you go and actually write the code that does it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@87 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 12:16:23 +00:00 |
|
crschmidt
|
70d425580c
|
Add empty class definitions for Icon, Marker to be filled in as part of bugs #5 and #6 respectively
git-svn-id: http://svn.openlayers.org/trunk/openlayers@85 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 03:50:53 +00:00 |
|