Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…603) * Add center map marker svg * Rename icon marker * ✨ Transform zoomTo methods async. Introduce 2 new url params: showmarker (0/1 - show marker map center) and iframetype (map -> only map without map controls). Move urls parameters check only when create view options on main map * set default resolve promise * refactor `_setupViewer` (avoid temp `promise`) * refactor `_calculateViewOptions` (remove temp vars) * comment * remove function `_setUpDefaultLayers` * shorten * convert to async function: `zoomToExtent` * refactor function `highlightGeometry` (reduce nesting) * restore `zoom` and `highlight` * spacing * refactor functions: `zoomToFid` and `handleZoomToFeaturesUrlParameter` * allow zero values (`isNaN`) * fix `typeof` * other typeofs * `parseFloat` + `isNaN` instead of multiply * add 500ms to setTimeout --------- Co-authored-by: Raruto <[email protected]>
- Loading branch information