Andreas Hocevar
e18d41b5e0
Remove gratuitous debug assertions
2016-08-04 11:29:54 +02:00
Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Tim Schaub
88f8515fb6
Shorter names for drawing methods
2016-03-18 17:04:44 -06:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Andreas Hocevar
d429eba4ae
Merge pull request #3858 from Jebjum/master
...
Fix graticule on wrapped views
2015-10-08 15:27:37 +02:00
Marc Jansen
89456e7906
Remove goog.isNull in graticule class
2015-10-01 09:18:53 +02:00
Tim Schaub
f746cb7f57
Use ol.math.clamp()
2015-09-27 12:26:21 -06:00
Tim Schaub
b3b31ea16d
Inline various goog.isDef() calls
2015-09-27 10:51:03 -06:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Tim Schaub
cf5eadebaa
Define options
2015-09-27 10:11:30 -06:00
Florent gravin
31a074daf5
Improve graticule perf
2015-08-27 17:04:43 +02:00
Ryan Curry
9a44895d41
Update graticule.js - fixed style / missing line
...
My comment on line 375 was too long, so I broke it up into multiple lines. Also I accidentally left a line out of the commit (line 384) when transcribing my changes into the web based editor.
2015-07-02 12:35:38 -07:00
Ryan Curry
56e871f8b5
Update graticule.js - fixed typo/build error
...
Corrected reference to variable frameState - it was misspelled by the previous commit.
2015-07-02 12:23:05 -07:00
Ryan Curry
de6ecb22a8
graticule.js - Fixed build. No functional change.
...
viewContext.extent_ is private, so we can't use it directly. Instead, re-calculate the corrected wrapped extent.
2015-07-02 12:20:05 -07:00
Ryan Curry
7b4a954c40
graticule.js now uses vectorContext.extent_
...
When creating the graticule use the extent from the vectorContext instead of the frameState to determine what parallels and meridians should be created. This will allow the graticule to be drawn correctly on views that wrap across the dateline.
2015-06-30 11:09:20 -07:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Tim Schaub
6c960215bb
Graticule docs
2015-04-04 17:36:47 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
Marc Jansen
b60609d93c
Make stroke style of the graticule configurable
2014-08-08 08:28:34 +02:00
Éric Lemoine
9bd1ab78fc
Add Graticule component
2014-07-24 17:59:56 +02:00