tschaub
9b3a78ed5e
Fixing the build by adding missing var.
...
An undeclared variable snuck in with 930206fb57 . This breaks builds using closure compiler. Another reason to set up a CI server and a builds@ list.
2012-03-01 17:00:26 -07:00
Tim Schaub
485317567e
Merge pull request #266 from tschaub/permalink
...
Making map construction work with permalink.
2012-03-01 15:11:10 -08:00
ahocevar
930206fb57
Merge pull request #247 from probins/kmlatts
...
KML: write attributes; add option for kvp attributes
2012-03-01 14:30:11 -08:00
tschaub
4e9701caa8
Making map construction work with permalink.
...
If a map is configured with a permalink control and a center, the permalink control tries to work with the map center before setCenter is called. This sequence assumes that the map center will already be a LonLat. This fails if the map is constructed with a coordinate array. Safer move is to convert center to LonLat before controls are added.
2012-03-01 13:47:42 -07:00
Peter Robins
eb47d97774
KML: write attributes; add option for kvp attributes
2012-03-01 12:56:38 +00:00
Pierre GIRAUD
45daaf5dd2
Use the 3 available sub-domains for OSM by default
2012-03-01 11:54:07 +01:00
Bart van den Eijnden
726b9dead8
Merge pull request #262 from bartvde/forloops
...
protect for in loops with hasOwnProperty (r=@elemoine,@marcjansen)
2012-03-01 01:09:19 -08:00
Tim Schaub
de68e00a58
Merge pull request #263 from jorix/always_requires
...
Avoid using the [first] section. Specify dependencies in the lib.
2012-02-29 19:31:15 -08:00
Bart van den Eijnden
e3cc96dbfb
protect for in loops with hasOwnProperty
2012-02-29 18:43:55 +01:00
Xavier Mamano
fe33e29000
If using OpenLayers namespace must have at least one requirement.
2012-02-29 17:07:41 +01:00
ahocevar
fa30c1da5c
Don't overwrite params, and use params in Layer.ArcGISCache
2012-02-29 16:52:31 +01:00
Bart van den Eijnden
0e1a30b3cd
PointPlacement and LinePlacement are choices, so don't output both
2012-02-29 14:42:11 +01:00
Éric Lemoine
8273f153dc
Merge pull request #223 from camptocamp/access_panelbutton
...
make it possible to create accessible panel buttons
2012-02-29 04:39:57 -08:00
Éric Lemoine
6a43fcaefc
change buttonclick.getPressedButton depth value from 5 to 3, this allows buttons with grand children (2 levels)
2012-02-29 13:34:47 +01:00
ahocevar
8ea3b1bd3e
Merge pull request #255 from ahocevar/255
...
LayerSwitcher broken when rendered to custom div. r=@elemoine
2012-02-29 04:25:18 -08:00
Peter Robins
55c18076d3
Make layer opacity api property
2012-02-29 10:40:20 +00:00
Bart van den Eijnden
b699afa57f
make vendorOptions an object instead of an array, which makes it more convenient to prevent duplicate vendorOptions
2012-02-29 10:57:08 +01:00
ahocevar
d0c782ca74
Making LayerSwitcher work again outside viewport.
2012-02-29 10:40:45 +01:00
Éric Lemoine
00909404ab
[Event.buttonclick] make buttonclick work if target element is a child of the clicked button
2012-02-29 00:56:52 +01:00
Xavier Mamano
9e48825205
Preserve the title and the className if they are set in createControlMarkup.
2012-02-28 22:28:33 +01:00
Éric Lemoine
3b7585be24
avoid useless deref
2012-02-28 22:28:33 +01:00
Éric Lemoine
e551fc672c
[Event.buttonclick] make buttonclick work on RETURN/SPACE keydown
2012-02-28 22:28:33 +01:00
Éric Lemoine
5539f6e958
[Control.Panel] place code creating the control markup in a separate function
2012-02-28 22:28:33 +01:00
Frédéric Junod
e14347dbc3
Merge pull request #29 from fredj/map-original-options
...
Expose map original options. r=@elemoine
2012-02-28 07:07:31 -08:00
Tim Schaub
4d31a3ed3a
Method for getting both feature id and data.
...
Having to call two methods to get complete feature information (id and data) is cumbersome. The `getFeatureInfo` method returns an object with both feature id and data.
2012-02-28 05:37:28 -07:00
Bart van den Eijnden
dd97bed3b4
merge with trunk
2012-02-28 13:31:14 +01:00
Éric Lemoine
43809ea330
Merge pull request #222 from camptocamp/access_keyboardcontrol
...
KeyboardDefaults control improvements
2012-02-28 03:02:19 -08:00
Arjen Kopinga
1c6d44e5d5
Moved symbol definitions to Renderer.js
2012-02-28 11:52:46 +01:00
Arkadiusz Grabka
8fcc3c79f8
Added translations for Polish language.
2012-02-28 10:57:17 +01:00
ahocevar
4ee28dc63e
Simplifying logic that returns undefined when root is invisible.
2012-02-28 10:45:18 +01:00
Arjen Kopinga
bf834e6b8e
being a good coder and adding braces around if statement body
2012-02-28 10:43:10 +01:00
Arjen Kopinga
4efa03eb59
Fix for being able to select a feature from an invisible layer that uses the Canvas renderer
2012-02-28 10:43:10 +01:00
fredj
f3c48d6963
Store the original map options into 'options' property
2012-02-28 10:07:59 +01:00
ahocevar
c55a8b554d
Merge pull request #229 from ahocevar/post-blank
...
Using a blankImageUrl that works for IFrames in IE9. r=@elemoine.
2012-02-28 00:23:51 -08:00
Éric Lemoine
5444fbcfc8
make the Google Closure compiler happier, no functional change
2012-02-28 09:08:13 +01:00
ahocevar
c2b8f9cdb5
Merge pull request #64 from tmcw/no-camel
...
Removing camelize method.
2012-02-28 00:05:58 -08:00
Bart van den Eijnden
6258c89d8c
Merge pull request #242 from bartvde/sld2
...
Add support for LabelPlacement of sld:TextSymbolizer (r=@ahocevar)
2012-02-28 00:00:01 -08:00
tschaub
fd595e6282
Clearer tile method names.
2012-02-27 16:47:11 -07:00
tschaub
89e8a872a5
Making the default UTFGrid resolution 2.
...
According to the latest [spec](https://github.com/mapbox/utfgrid-spec/blob/master/1.2/utfgrid.md ): "By default, UTFGrid operates on a 2x2 grid."
2012-02-27 08:57:22 -07:00
Tim Schaub
551c582ab1
Layer and tile API update.
...
The tile now has responsibility for resolving feature ids and fetching feature data given x, y pixel offsets with getFeatureId and getFeatureData methods. The layer has corresponding getFeatureId and getFeatureData methods that take a map location, lookup the appropriate tile, and delegate to the tile for the rest of the work.
2012-02-26 21:05:12 -07:00
Tim Schaub
fc03f57591
Simplify constructor by setting projection.
2012-02-26 19:23:22 -07:00
ahocevar
fa656e7ed6
Merge pull request #239 from ahocevar/3625
...
Removing imageOffset and using getImageSize. r=@elemoine
2012-02-26 09:25:29 -08:00
Éric Lemoine
3113aba7f1
Merge pull request #203 from probins/http
...
HTTP protocol: enable POST for update/delete
2012-02-26 01:16:49 -08:00
Tim Schaub
faeb691f3a
Tests for UTFGrid tiles.
2012-02-25 23:07:31 -07:00
Tim Schaub
8c95a90052
The parseData method doesn't need to know of XHR.
2012-02-25 20:51:03 -07:00
Tim Schaub
12fa9b54ef
Consistency with tile loading events.
...
Since loadstart is being fired here, it makes sense to fire loadend as well. The isLoading flag also needs to be cleared. Needs tests still.
2012-02-25 20:45:18 -07:00
Tim Schaub
c18f6a23be
Use JSON format for parsing JSON.
...
To get IE7 support, the OpenLayers.Format.JSON parser should be used. This leverages the native JSON.parse method where available. It does add extra weight to UTFGrid builds. However, as of this commit date, we lose large portions of US govt agencies when we exclude IE7.
2012-02-25 20:18:23 -07:00
Tim Schaub
e6f0aa08e5
Cleanup use of Script protocol.
...
I would think there would still be an error thrown here. Will put together a test to determine for sure, but I'd think that the default GeoJSON parser used by the protocol would choke on the UTFGrid json.
2012-02-25 20:09:34 -07:00
Tim Schaub
73e6973ab5
Remove cargo culted image tile bits.
2012-02-25 20:03:40 -07:00
Tim Schaub
65233dd0bc
Add dependency on UTFGrid tile.
2012-02-25 20:01:14 -07:00