Commit Graph
100 Commits
Author SHA1 Message Date
mike-000 919c711756 New function createOrUpdateCustomSketchLine_ 2020-11-25 12:06:34 +00:00
mike-000 8898d540fa New function createOrUpdateCustomSketchLine_
New function for duplicated code handling sketch line for custom polygons
2020-11-25 11:59:32 +00:00
mike-000 f8df533cb0 Use Mode.LINE_STRING for Circle geometries
Make predefined geometry functions compatible with removeLastPoint
Add undo to example
Make geometry function for Star compatible with use of removeLastPoint
Additional createRegularPolygon tests
2020-11-24 10:39:28 +00:00
mike-000 1c529a9e2f document rotation direction 2020-11-23 14:41:30 +00:00
mike-000 540e5faa74 document rotation direction 2020-11-23 14:41:19 +00:00
mike-000 35266c47a3 document fromCircle angle direction and 0 2020-11-23 14:35:40 +00:00
mike-000 d42b7d4fba Update TMS tileUrlFunction example 2020-11-18 11:11:06 +00:00
mike-000 d4f7b40b95 Update TMS tileUrlFunction example 2020-11-18 10:44:41 +00:00
mike-000 9101b2723a Add fetch and TextDecoder to polyfills 2020-11-16 11:00:56 +00:00
mike-000 5d8212e48f Replace readURI with readStyleURL for StyleURLs
readStyleURL ensures URL begins with # if it does not contain one
Remove old partial fix
Test handling of missing # in StyleURL
2020-11-10 14:42:20 +00:00
mike-000 c5cd29e2ac Link label to checkbox 2020-11-09 21:06:59 +00:00
mike-000 a6860118c7 Support formats that read ArrayBuffer sources
Drag-and-Drop support for formats that read arraybuffer sources
Add TextDecoder to polyfills
Add custom Drag-and-Drop examples for KMZ and MVT
Add sample download and KML styles option to existing example
Test arraybuffer and constructed formats
2020-11-09 17:02:31 +00:00
mike-000 6bc0bf8640 Test reading XY and empty Z coordinates 2020-11-06 10:32:39 +00:00
mike-000 f4654ff146 Handle empty Z coordinates 2020-11-06 10:19:29 +00:00
mike-000 1f991b980b Treat svg as binary resource 2020-11-04 20:59:54 +00:00
mike-000 672c8afb0b Fix Antarctica polygon so it wraps correctly 2020-10-21 23:04:41 +01:00
mike-000 8289d2a516 use https to avoid security warnings 2020-10-17 13:17:29 +01:00
mike-000 f8c24590b9 Fetch the polyline and smoother animation
Fetch the polyline and use getCoordinateAt() for smooth animation
2020-10-03 19:30:56 +01:00
mike-000 cb77784d2a also restore collapsed state to last user setting 2020-09-30 10:36:53 +01:00
mike-000 09a1dd43c6 reset to collapsible when no uncollapsible sources 2020-09-28 14:05:23 +01:00
mike-000 9e8d49e485 Display current OS copyright date
Display current OS copyright date to keep up with source updates https://www.arcgis.com/home/item.html?id=7561029c176d43d09a5aa1180ada309a
Increase EPSG:27700 extent beyond the usual definition to the visible extent of the OS Overview layer
2020-09-27 15:14:59 +01:00
mike-000 c3378466fe in IE use textContent instead of innerText 2020-09-22 12:14:19 +01:00
mike-000 20936508aa Replace globe gif
Use better quality image based on public domain landmask image at https://ian.macky.net/pat/map/globe.html and data at http://www.shadedrelief.com/natural3/pages/extra.html
2020-09-21 10:41:20 +01:00
mike-000 27bba85be9 Use public domain image
Derived from https://commons.wikimedia.org/wiki/File:Globe.gif using ezgif.com
2020-09-20 18:42:23 +01:00
mike-000 c18227df36 Add animated gif example 2020-09-20 14:47:33 +01:00
mike-000 190661bfdb Use flagcdn.com for images 2020-09-19 14:04:02 +01:00
mike-000 b60574261c Fix binary data, ./ relative path syntax, and IE 2020-09-17 22:09:31 +01:00
mike-000 685040347b Add rotation and rotateWithView
Add rotation and rotateWithView to options and clone

Add rotation and rotateWithView to clone test
Also check that scale and displacement arrays are cloned
2020-09-08 16:23:45 +01:00
mike-000 6cc063241a Use pixelRatio 2 2020-09-01 09:29:42 +01:00
mike-000 0807b44722 Clear this.canvas_ whenever render() is called 2020-09-01 09:27:17 +01:00
mike-000 f897503e10 Cosmetic fix to doc (missing closing quote) 2020-08-28 22:27:33 +01:00
mike-000 598f2bb508 Add iconUrlFunction option
Test iconUrlFunction option

remove @private
2020-08-28 22:12:58 +01:00
mike-000 722e0c5b69 Include scale in options
Add rectangle to example
Add ellipse and rectangle to rendering tests
2020-08-09 10:25:16 +01:00
mike-000 588e3b91d8 use numbers for expected values 2020-08-08 13:01:04 +01:00
mike-000 857f4e01ac use precise international inchesPerMeter
test scalebar text
2020-08-07 10:49:31 +01:00
mike-000 9468a088c0 ensure extent is valid when scale is negative
test large flipped icon in buffer zone
test hit detection for negative image scale
2020-08-07 10:26:38 +01:00
mike-000 95702648b2 simplify scale calculation
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
mike-000 95e506cf36 Apply context options in handleImageChange
update tests
add new tests
2020-08-01 16:07:58 +01:00
mike-000 562b2f632f Revert #11193, set vectorRenderer.clipping = false 2020-07-30 20:11:11 +01:00
mike-000 6610391c0b Add clipping property 2020-07-30 19:58:23 +01:00
mike-000 e6592c95ea remove whitespace 2020-07-30 14:23:51 +01:00
mike-000 eee7e2523c fix prettier 2020-07-30 14:18:58 +01:00
mike-000 dcdaf6ddc5 add non-global projection wrapX text 2020-07-30 14:15:17 +01:00
mike-000 39334fa95d check projection can wrap before getting width 2020-07-30 12:24:03 +01:00
mike-000 926d740a8e fix syntax of return with typecast 2020-07-20 19:24:56 +01:00
mike-000 f9f90ea766 move type cast to tryReadFeatures_ 2020-07-20 19:16:49 +01:00
mike-000 9fb45aa2d2 fix prettier 2020-07-20 17:06:52 +01:00
mike-000 21f4d4998b type casting 2020-07-20 17:02:38 +01:00
mike-000 1812ce8b28 update source and fire event only if features added 2020-07-20 16:08:00 +01:00
mike-000 b896fd0010 specify font family 2020-07-13 10:47:03 +01:00
mike-000 49a4344446 reinsert experimental: tag 2020-07-13 10:43:21 +01:00
mike-000 8321cc6fbf remove dependence on container div 2020-07-12 14:15:49 +01:00
mike-000 54fc7439b4 make style override consistent with other examples 2020-07-12 13:47:02 +01:00
mike-000 30d48573a7 make compatible with ol.css import 2020-07-12 13:04:34 +01:00
mike-000 635f380a9d make compatible with ol.css import 2020-07-12 12:57:25 +01:00
mike-000 6ea784ae1b make compatible with ol.css import 2020-07-12 12:54:14 +01:00
mike-000 d8a440ba4a make compatible with ol.css import and with IE 2020-07-12 12:45:22 +01:00
mike-000 942b306a97 make compatible with ol.css import and with IE 2020-07-12 12:45:14 +01:00
mike-000 2bc3f2ed73 remove dependence on container div 2020-07-12 12:28:41 +01:00
mike-000 896352bd8b remove container div 2020-07-12 12:21:05 +01:00
mike-000 bee05bbd24 update to latest mapbox gl version 2020-07-10 21:47:31 +01:00
mike-000 233269d56c add missing import 2020-07-10 18:27:35 +01:00
mike-000 960fad2fc7 Fix rotation reset and add attributions 2020-07-10 18:16:32 +01:00
mike-000 63135dadf6 Reset font size changed by Mapbox CSS 2020-07-10 17:58:17 +01:00
mike-000 5461a1dafd Add files via upload 2020-07-10 17:53:44 +01:00
mike-000 d99f58d7ff update mapbox gl version 2020-07-10 17:45:25 +01:00
mike-000 75ae8634f7 use 'source-over' to render edges 2020-06-28 14:51:36 +01:00
mike-000 6c5a0674ec revert previous commit 2020-06-24 15:57:39 +01:00
mike-000 658bc0a729 correct clipping of the vector rendering 2020-06-24 15:51:41 +01:00
mike-000 4c7a1817fa optimise check for NaN in extent 2020-06-24 12:46:02 +01:00
mike-000 342b69fe92 fix prettier 2020-06-18 15:42:48 +01:00
mike-000 64167a5d7e Use condition instead of setActive and listeners 2020-06-18 15:31:33 +01:00
mike-000 3acb0b28de Add condition option 2020-06-18 15:17:55 +01:00
mike-000 74b74e2478 fix pettier 2020-06-17 16:59:56 +01:00
mike-000 1685913a55 getExtent() return getEmpty() for invalid extents 2020-06-17 16:46:24 +01:00
mike-000 136936979f test getCoordinateAt returns Z and M values 2020-06-17 15:56:36 +01:00
mike-000 19f3c6b94a getCoordinateAt return Z and M values if available 2020-06-17 15:46:28 +01:00
mike-000 f5d85ab4f9 interpolatePoint optionally returns Z and M values 2020-06-17 15:24:41 +01:00
mike-000 365b757856 test clipping with rotation 2020-06-17 12:15:39 +01:00
mike-000 272ae55345 test clipping with rotation 2020-06-17 11:31:10 +01:00
mike-000 a27e3486c6 test clipping with rotation 2020-06-17 11:20:29 +01:00
mike-000 1c725c8cfc do not clip the vector rendering 2020-06-17 11:13:33 +01:00
mike-000 091584a120 do not clip rendering for VectorImage layers 2020-06-17 11:11:19 +01:00
mike-000 e3a89a2e55 test clipping with rotation 2020-06-16 13:24:52 +01:00
mike-000 0747f44e4a test clipping with rotation 2020-06-16 12:29:15 +01:00
mike-000 014f17d14b correct clipping with rotation 2020-06-16 12:20:50 +01:00
mike-000 db074a27e6 correct scalebar box sizing 2020-05-30 12:26:12 +01:00
mike-000 cf0e650435 allow scale to be two dimensional
add getScaleArray() method

test two dimension scale icons
test two dimension scale text

add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
mike-000 9a8b9d8ade add Image source imageSmoothing option
Add Image smoothing checkbox to example

Test imageSmoothing option
2020-05-09 10:41:20 +01:00
mike-000 7f99ce46bb set background fill style for each label
add check for declutter
2020-05-05 16:22:58 +01:00
mike-000 d72c7fdc13 set background fill style for each label 2020-05-05 13:04:25 +01:00
mike-000 960abdbec1 Revert dummy parameter change
fix typo
2020-05-04 17:14:57 +01:00
mike-000 e0047139e1 Revert dummy parameter change 2020-05-04 17:11:16 +01:00
mike-000 c0577c3293 Include context options in reprojection cache key
fix prettier
2020-05-04 16:45:29 +01:00
mike-000 76d2d6e737 Include context options in reprojection cache key
override the inherited getKey() method
2020-05-04 16:27:27 +01:00
mike-000 9e160e75f9 Include context options in reprojection cache key
use reprojection tileCoordKey instead of source key
2020-05-04 14:31:46 +01:00
mike-000 9bf037947c Include context options in reprojection cache key
fix prettier
2020-05-04 12:53:24 +01:00
mike-000 b2a1540ee0 Include context options in reprojection cache key 2020-05-04 12:47:15 +01:00
mike-000 62f150176a add dummy parameter to url to avoid shared cache
fix prettier
2020-05-01 12:28:07 +01:00
mike-000 7a46b3a61a add dummy parameter to url to avoid shared cache 2020-05-01 12:06:38 +01:00