dfalling / lit-google-map Goto Github PK
View Code? Open in Web Editor NEWThis project forked from arkadiuszwojcik/lit-google-map
This project is port of google-map webcomponent based on LitElement library
License: MIT License
This project forked from arkadiuszwojcik/lit-google-map
This project is port of google-map webcomponent based on LitElement library
License: MIT License
Fit to bounds is often zoomed in too far, excluding numerous markers. This happens for me on a complicated page on load. If I navigate to that page or do something to trigger recalculation of the bounds, it will work. This comment in stackoverflow suggests you need to wait for the map to be idle before setting the bounds.
We need to automate or at least lint that the /dist
assets directory is updated when changes are made to the source.
New items are added correctly, but lit-google-map has no code to purge old items that are no longer present.
Google Maps allows for arbitrary elements to be assigned to various positions around the map as controls.
https://developers.google.com/maps/documentation/javascript/examples/control-custom
<lit-google-map-control position="TOP_CENTER">
<button click={map.fitToMarkersChanged()}>Center Map</button>
</lit-google-map-control>
Add eslint with suggested rules to ensure basic code quality.
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.