Comments (5)
You can link to an external stylesheet from your template
https://github.com/Polymer/core-toolbar/blob/master/core-toolbar.html#L59
from leaflet-map-component.
@robdodson Right, that is what I am doing - https://github.com/prtksxna/leafleft-map-component/blob/master/leaflet-map-component.html#L9
Wasn't sure if it was the right way. Should the whole of Leaflet's CSS be loaded like this?
from leaflet-map-component.
I'm assuming leaflet's css does not have shadow dom selectors so you may need to rewrite some of it. But otherwise, yes I believe so
from leaflet-map-component.
bower_components/leaflet/dist/leaflet.css
path is improper (https://github.com/prtksxna/leafleft-map-component/blob/master/leaflet-map-component.html#L10).
The path should be ../leaflet/dist/leaflet.css
. The leaflet
library must be a peer to leaflet-map-component
(just like polymer
).
from leaflet-map-component.
@sjmiles Thanks for pointing it out. Fixed that in 0dbd0a8 for #1
@robdodson Yup, I was a bit worried about that when I started this project but everything seems to be working fine for now.
from leaflet-map-component.
Related Issues (20)
- Create logo HOT 1
- leaflet-map: Trigger `moveend` event
- leaflet-map: Trigger `zoomend` event
- leaflet-map: Add `clear` method
- Update README
- Create demo page HOT 1
- leaflet-map: Add `fitToMarkers` attribute
- Merge projects HOT 1
- Crete a calculate routes custom element HOT 3
- Doesn't work with core-animated-pages
- On tables/Mobiles doesn't work HOT 4
- Write CONTRIBUTING.md
- leaflet-marker not loading because L.icon is not set HOT 1
- Fix release process
- Can't extend this component and use it with leaflet.draw plugin
- let anything be a marker
- abbreviation for latitude and longitude
- Upgrade to Polymer 0.8 HOT 3
- Zoom controls visible when they shouldn't
- Not working on Polymer 2 HOT 1
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-map-component.