rlmcneary2 / remapgl Goto Github PK
View Code? Open in Web Editor NEWDeclarative MapboxGL bindings <๐>
Declarative MapboxGL bindings <๐>
Add a license to the package.json.
Create a copyright notice for the head of each source file.
Allows the map to go to the user's current position.
https://docs.mapbox.com/mapbox-gl-js/api/#geolocatecontrol
Review the MapboxGL API for objects and options that need to be available for v1. Create a table in this issue with results.
Upgrade:
As pointed out here when adding controls to a map they can have a position set to indicate where they should appear. https://docs.mapbox.com/mapbox-gl-js/api/#map#addcontrol
Topics include:
Shows the map scale.
https://docs.mapbox.com/mapbox-gl-js/api/#scalecontrol
This is the base layer control modelled on the Mapbox style layer. It will have these props:
Note - not all layer type and source combinations use all these properties. Layer components that are easier to use will be built on this component. See https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers
The props will be assembled into a layer object and shall be added to the map in a useEffect
hook by map.addLayer
.
The same useEffect
hook shall return a function that invokes map.removeLayer
and map.removeSource
to cleanup the map when the Layer component is removed.
The MapboxGL Map object has a function named remove
that must be invoked to cleanup map resources. This should be done in the function returned by the useEffect
hook where the Map is created.
Information about the API and usage will be stored in the source files. Find a tool that will export the TypeScript and comment information. Ideally that information will be [rendered to markdown, rendered to HTML].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.