Vladimir Agafonkin
b329c4a9fd
only round clip edges, other path points already rounded
2013-12-18 14:35:51 -05:00
Per Liedman
4dc66ccedd
Round tile bounds to integers
2013-12-02 19:16:01 +02:00
nexushoratio
2e6e81e307
Minor spelling fix
2013-11-23 12:55:26 -08:00
Vladimir Agafonkin
6387f20206
update packages versions, minor jshinting
2013-05-29 12:10:19 +03:00
Vladimir Agafonkin
83539136a7
normalize point in Point equals and contains methods
2013-04-22 17:16:14 +03:00
Vladimir Agafonkin
9c2e7cfbd4
add Point contains method
2013-02-22 17:28:55 +02:00
Vladimir Agafonkin
94a69bec1e
fix Point factory not passing null through
2013-02-05 12:38:13 +02:00
oslek
7dd7e4f699
Robust array type check for cross-frame support
...
In a multi-frame DOM environment, if setView is called with an array for
the first parameter, a subsequent call to getBounds raises "Invalid
LatLng object" exception. This is the case if the array passed to
setView was created outside the iFrame that contains the map. It causes
the array test using "instanceof" in L.latLng to fail, and
_initialTopLeftPoint to not being properly initialized.
Thank you to Juriy Zaytsev for the full explaination:
http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/
John Resig and Dean Edwards post comments and concur.
2013-01-14 14:04:50 -08:00
Vladimir Agafonkin
b9727d9190
made up my mind about comment format, add some more comments
2012-12-20 12:37:40 +02:00
Vladimir Agafonkin
b0e5c817a9
more comments and cleanup
2012-12-19 18:47:28 +02:00
Vladimir Agafonkin
d4432882ba
use lightweight classes for LatLngBounds and Bounds
2012-12-19 18:46:44 +02:00
Vladimir Agafonkin
6134a41554
jshint fixes and cleanup for uglifyjs2
2012-12-12 19:09:47 +02:00
Vladimir Agafonkin
1c14bf7b97
make Transformation class more lightweight
2012-12-12 17:46:21 +02:00
Vladimir Agafonkin
3051b22a88
add Bounds getSize method
2012-12-11 20:14:17 +02:00
Vladimir Agafonkin
b3826358d5
add Point equals method
2012-11-14 14:07:17 +02:00
Pascal Borreli
9546599520
Fixed typos
2012-11-09 23:15:48 +00:00
Vladimir Agafonkin
2b225cc3a8
more whitespace fixes
2012-11-07 18:46:59 +02:00
Dominik Moritz
f8d6e7052e
Implemented isValid() function for Bounds and LatLngBounds. Fixes issue #966 . Added specification.
2012-09-11 12:43:16 +01:00
mourner
8980f2d224
minor code cleanup, more destructive point operations
2012-08-10 22:40:55 +03:00
danzel
8667f357f2
Make zooming straight in at the bottom level do nothing rather than moving half a pixel across with odd sized windows (which makes the whole screen look blurry in chrome). We need floor rather than round otherwise we move 1px in each direction.
2012-07-26 13:58:44 +12:00
Vladimir Agafonkin
3e24ed5400
more work on simplified api
2012-07-05 14:45:06 +03:00
Vladimir Agafonkin
0d6749a3ac
initial API simplification
2012-07-03 17:06:44 +03:00
mourner
50c6c480b4
add window and undefined to outer closure
2012-07-01 16:18:00 +03:00
mourner
9387db04c2
refactoring, cleanup, add Bounds.getBottomLeft and getTopRight
2012-06-29 01:47:30 +03:00
mourner
aa111eb790
Merge remote-tracking branch 'origin/master'
2012-02-03 12:07:23 +02:00
mourner
1cc885056b
Significantly improved line simplification performance
2012-02-03 12:07:06 +02:00
Morten Ditlevsen
f54450f893
Added 'intersection' method for Bounds - just like the current implementation for LatLngBounds
2012-02-02 15:30:36 +01:00
mourner
a9720fcb43
Final jshinting without remorse
2011-12-09 16:51:31 +02:00
mourner
b03f6eff07
Some really heavy jshinting and whitespace fixes
2011-12-09 16:35:15 +02:00
mourner
dc79b10683
More jshinting and whitespace fixes
2011-12-09 12:20:59 +02:00
mourner
dd3788f48d
Fixed rare polygon/polyline rendering issue, closed #381
2011-12-05 19:47:07 +02:00
Andrey Rublev
94d97d84c0
Fix method L.LineUtil._sqClosestPointOnSegment
2011-07-20 21:42:48 +07:00
Andrey Rublev
263a5b9b5f
Add method Polyline.closestLayerPoint
...
Also fix method L.LineUtil.simplify for empty geometry
2011-07-20 13:23:04 +07:00
Andrey Rublev
9479911e69
Fix Bounds.contains method in case if obj argument is instance of L.Point
2011-07-13 18:13:35 +07:00
Mourner
94a15edef9
cleanup
2011-06-01 15:07:48 +03:00
Mourner
87eee7fbcb
LatLngBounds#contains(LatLng), Bounds#contains(Point), fixes #76
2011-05-26 11:56:52 +03:00
Mourner
0499ab73df
Fix closed polylines not appearing on the map
2011-05-19 15:51:44 +03:00
Mourner
895d171648
android fixes, zoom animation refactoring, fadeAnimation option
2011-04-14 15:42:48 +03:00
Mourner
a5829b5af1
update build, build config, readme
2011-03-01 17:41:33 +02:00
Mourner
a3fa83d7af
fix simplify typo
2011-03-01 15:32:47 +02:00
Mourner
5de66e7ee1
LineUtil refactoring, comments
2011-03-01 12:40:19 +02:00
mourner
cacf6ca80c
Polygon implementation
2011-03-01 10:26:42 +02:00
Mourner
e4e22f9132
Sutherland-Hodgeman Polygon clipping algorithm
2011-02-28 19:39:09 +02:00
Mourner
773a13e68d
VML path fallback, enabling polylines on IE6-8, performance tuning
2011-02-28 16:14:32 +02:00
mourner
047b5c6d1d
different performance optimizations
2011-02-27 22:31:46 +02:00
mourner
7b205c4d66
Replaced Liang-Barsky clipping algorithm with Cohen-Sutherland, which is faster in case most clippings are trivial accepts or rejects
2011-02-27 21:25:37 +02:00
Mourner
d011038bf7
initial vector support, huge commit!
2011-02-25 19:01:29 +02:00
Mourner
be09f97cf2
At last, zooming animation! HUGE commit!
2011-01-14 18:43:40 +02:00
mourner
d1f1744ca3
jslinted
2010-09-27 18:34:56 +03:00
mourner
40f2b081e8
typo
2010-09-21 15:59:19 +03:00