Comments (2)
Examples in README.md show usage of marker_options
for setting properties of marker icons. Path properties can be similarly specified by polyline_options
.
new L.GPX(data, {
async: true,
marker_options: { startIconUrl: null, endIconUrl: null },
polyline_options: { color: 'red' }
});
from leaflet-gpx.
Thanks @adoroszlai !
from leaflet-gpx.
Related Issues (20)
- Change the colour of the first X meters of the track HOT 1
- get_elevation_data() return empty Array HOT 2
- Empty waypoints at each end of the displayed track HOT 1
- iconSize ignored when using startIconUrl HOT 1
- Get latLng HOT 3
- Typescript error HOT 7
- Question: can I get a timestamp from mouseover on gpx track HOT 3
- Multiple gpx files: map fits only on the last GPX HOT 6
- Make gpx tracks clickable HOT 3
- Lazy loading large GPX track only when layer is enabled HOT 3
- group data and control display by years HOT 1
- GPX data seems consistently offset to the north HOT 7
- Module version of the plugin? HOT 5
- Change url and update track HOT 1
- ES Module HOT 2
- Simple example from README does not work. HOT 1
- Accessing waypoints HOT 3
- Cannot disable startIcon or endIcon HOT 1
- Cannot read properties of null (reading 'toFixed')
- Uncaught TypeError: options.icon.slice is not a function: `new L.AwesomeMarkers.icon` do not work on startIcon and endIcon HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet-gpx.