Skip to content

GeoJSONOverlay: Possible improvementsย #1327

@gkjohnson

Description

@gkjohnson

Features

  • Add support for a form of "styling" the GeoJSON.
  • Add support for multiple GeoJSON shapes (array of URLs, shapes).
  • Add support for regenerating images based on color / shape / styling changes.
  • Add support for raycasting / sampling geojson coordinate based on mouse position / or latlon value.

Quality

  • Handle GeoJSON shapes across the +-180 degree longitude boundary.
  • Add padding based on pixel size, stroke size, and point size to ensure shapes are included in bounding box calculations to prevent shape clipping.
  • Add support for world space sizing so line width etc does not scale based on zoom / pixel size.
  • Consider scaling canvas dimensions based on ellipsoid-projected size to retain roughly square pixels, prevent distortion.
  • Image Overlays: Allow for "dynamic" depth and loaded tile sizeย #1310

Memory

Performance

  • See if converting to SVG is performant.
  • Use web workers and offscreen canvas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions