Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Latest commit

 

History

History
74 lines (49 loc) · 2.05 KB

README.md

File metadata and controls

74 lines (49 loc) · 2.05 KB

STOP! This is an early work in progress.

This project really doesn't do anything yet and the notes below can be considered brain-storming.

Mapbits

Rather than a single comprehensive component, Mapbits is a web mapping framework composed of loosely coupled modules to easily integrate or extend as you see fit. This small toolset is designed to be lean, extensible and ready for the upcoming generation of web apps.

Design Principles

  • Keep modules focused
  • Model driven views & decoupled rendering
  • Don't prevent realtime data
  • Be efficient - Queue & coalesce property changes

Base Classes

  • Point (x, y)
  • Coordinate Reference System (CRS)
  • Layer
  • Projection

Components

Location (Latitude, Longitude)

Coordinate (Latitude, Longitude, Zoom)

Viewport (or Map)

This top-level component encapsulates a CRS that layers & features can be added to. The viewport is also responsible for notifying it's dependents of changes that effect the visible scope, such as panning, zooming, resizing.

Tile Layer

A tile layer requests images from a provider with consideration to the visible extent of the viewport to which it belongs.

Grid Layer

A grid layer is a generic pane/layer that requires realtime knowledge of the visible extent of the viewport to which it belongs. This should be useful for custom visualizations.

Feature

GeoJSON

  • Point
  • LineString
  • Polygon
  • MultiPoint
  • MultiLineString
  • MultiPolygon
  • GeometryCollection

Utilities

Geocode

Coordinate Reference System (CRS) Translation


Notes & Links