euzuro
|
6c22690d8b
|
removing JSON handling code from Ajax.js. It is not currently needed in this library.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1013 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 15:52:33 +00:00 |
|
euzuro
|
88e1b772b9
|
only call the concluding setCenter() (which generally will do no more than fire the 'moveend' event) if the drag was actually performed. otherwise, it was just a click, and no need.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1012 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 15:33:12 +00:00 |
|
euzuro
|
a171ae13b6
|
fixing more tabs. all tests pass
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1011 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 14:44:44 +00:00 |
|
euzuro
|
3962b0a814
|
fixed tabs, multiple return (coding standards)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1010 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 14:42:50 +00:00 |
|
euzuro
|
5216e5b042
|
add comment -- limitSigDig only works with integers... for now
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1009 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 12:27:41 +00:00 |
|
euzuro
|
ce69912782
|
add limitSigDigs() function to number's prototype. tests included
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1008 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 12:22:12 +00:00 |
|
euzuro
|
317c15a5ce
|
readibility / coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1007 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 10:17:21 +00:00 |
|
euzuro
|
63396d27d0
|
r1005 introduced some infinite recursion. no good. split addControl() into two functions, one public, which adds to internal this.controls arrray... and one private addControlToMap() which does the same, but without adding it to this.controls
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1006 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 10:13:33 +00:00 |
|
euzuro
|
d079f0bbca
|
allow user to specify initial controls via 'controls' array option, instead of simply passing an empty array and then later adding. that seems extraneous
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1005 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 10:01:45 +00:00 |
|
euzuro
|
04a2e9472d
|
allow an option to kill all other popups on addition of new one
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1004 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-25 21:43:28 +00:00 |
|
euzuro
|
65da9e491e
|
'=' != '==' oops.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1003 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-25 21:40:02 +00:00 |
|
crschmidt
|
d221e33ba6
|
More documentation, link to wiki.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1002 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 12:37:23 +00:00 |
|
crschmidt
|
d87312cb49
|
Add ka-map example file. This is a PHP file, slightly modified from the distribution, and combining the tile.php and config.php files into one, so that users only have to use one file to set up a ka-map backend.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1001 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 12:33:51 +00:00 |
|
crschmidt
|
975377fb89
|
KaMap tests. This led to r999, relating to base layer differences, and is in large part a copy of the Grid layer, so it could use some more tests to ensure it Does The Right thing with regard to the different initTiles functionality that kamap requires.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1000 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 12:18:51 +00:00 |
|
crschmidt
|
5eb1fdfaca
|
When we remove a layer from the map, if it is the base Layer, we need to find *another* base layer to replace it, otherwise when we call getExtent, etc. it will be on the *old* base layer, which no longer has a map object defined.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@999 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 12:17:48 +00:00 |
|
crschmidt
|
2afe7dbab4
|
Set OpenLayers.ProxyHost on examples that make use of loadURL.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@998 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 11:38:48 +00:00 |
|
crschmidt
|
162f0a408b
|
Add require statements to feature classes, so that single file build works correctly.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@997 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 11:30:50 +00:00 |
|
crschmidt
|
b5fb825788
|
Change freemap mapfile.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@996 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 11:29:46 +00:00 |
|
euzuro
|
b063447471
|
move getFeature() to the Layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 19:19:54 +00:00 |
|
euzuro
|
82d335df03
|
add a getFeature() to Tile.WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@994 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 19:07:33 +00:00 |
|
euzuro
|
96c3720aab
|
protect for null bounds (not-loaded map)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@993 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 18:22:37 +00:00 |
|
crschmidt
|
02efb5c213
|
Edit out toJSON() prototypes since they're breaking unit tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@991 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 03:40:31 +00:00 |
|
euzuro
|
4f208e2207
|
now with multiple wfs servers, we do NOT want to clear this list. argh.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 18:01:37 +00:00 |
|
euzuro
|
3351e2ceb1
|
decompose addResults() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@989 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 16:41:38 +00:00 |
|
euzuro
|
339026faf6
|
update tests to new feature id
git-svn-id: http://svn.openlayers.org/trunk/openlayers@988 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 16:10:25 +00:00 |
|
euzuro
|
16b0f1b3ef
|
always give features random id's. this prevents duplicate issues on zooming
git-svn-id: http://svn.openlayers.org/trunk/openlayers@987 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 16:00:43 +00:00 |
|
crschmidt
|
e75ece7909
|
Add JSON parser and exporter, to allow people to more safely parse and use JSON in their OpenLayers applications.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@986 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 14:23:05 +00:00 |
|
euzuro
|
9783a64c64
|
update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 13:47:55 +00:00 |
|
euzuro
|
b6e937e877
|
add addScript() function for loading JSON scripts (or any scripts, for that matter)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 13:46:33 +00:00 |
|
euzuro
|
9a5f6c8d33
|
start tile & layer id's with standard strings, to avoid funky characters when later these ids are used as parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@983 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 17:09:18 +00:00 |
|
euzuro
|
ca8993dd68
|
only send up arguments if not blank
git-svn-id: http://svn.openlayers.org/trunk/openlayers@982 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 16:41:36 +00:00 |
|
euzuro
|
2e67a6aedf
|
add getTile() function to Grid.js. with tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@981 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 15:20:25 +00:00 |
|
euzuro
|
2def6f6327
|
give Tile a unique id. add tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@980 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:47:41 +00:00 |
|
euzuro
|
96d0f62c59
|
add getLayer() function to Map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@979 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:42:20 +00:00 |
|
euzuro
|
5855e1cb1f
|
move clear button down with the run buttons.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@978 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:41:18 +00:00 |
|
euzuro
|
f71f3d0cfb
|
give layer a unique id. udpate tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@977 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:30:46 +00:00 |
|
euzuro
|
3f07472d5d
|
rollback of r975
git-svn-id: http://svn.openlayers.org/trunk/openlayers@976 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 18:39:15 +00:00 |
|
euzuro
|
abeb2ce686
|
give the map div a reference back to the OpenLayers.Map object
git-svn-id: http://svn.openlayers.org/trunk/openlayers@975 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 18:13:33 +00:00 |
|
euzuro
|
4709d697b7
|
add appropriate requirements now that we are using an Util.js function in Feature.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@974 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 17:21:36 +00:00 |
|
euzuro
|
e08ab3371c
|
use built-in VE translation functions
git-svn-id: http://svn.openlayers.org/trunk/openlayers@973 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:43:34 +00:00 |
|
euzuro
|
a046bb2b31
|
bug hidden from change to multiple WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@972 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:31:39 +00:00 |
|
euzuro
|
c0e82d966f
|
consolodate usage of Math.random() in OpenLayers.Util.createUniqueID()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@971 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:23:12 +00:00 |
|
euzuro
|
ab98af7635
|
add test for OpenLayers.Util.createUniqueID()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@970 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:17:01 +00:00 |
|
euzuro
|
0a1529e00a
|
lowercase functionname, indicate unique
git-svn-id: http://svn.openlayers.org/trunk/openlayers@969 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:12:31 +00:00 |
|
euzuro
|
788ee7fee2
|
add a util function to create a random id
git-svn-id: http://svn.openlayers.org/trunk/openlayers@968 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:10:38 +00:00 |
|
euzuro
|
1a71ac6199
|
update to new way of specifying feature class. OpenLayers.Feature.WFS is actually the default, so this technically doesnt even need to be done, but just for example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@967 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 15:46:38 +00:00 |
|
crschmidt
|
692d0f6113
|
Fix broken units: inches was missing, and dd was in place of images.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@966 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:37:40 +00:00 |
|
crschmidt
|
f873f81545
|
Scale control file was not included via the non-single file version.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@965 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:32:53 +00:00 |
|
euzuro
|
3c4d324f12
|
allow for user to specify an alternate tile class to use with WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@964 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:19:12 +00:00 |
|
euzuro
|
17426fcfc4
|
no longer need to set this parameter here now that we are correctly bubbling the setMap() call up to its two superclasses. Before, when we didnt define setMap() in WFS.js, then it was only bubbling up to Markers.js, which means that it wasnt getting the default tileSize from the map which happens in Grid.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@963 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:07:32 +00:00 |
|