nilpath / riot-google-maps Goto Github PK
View Code? Open in Web Editor NEWRiot.js Google Maps integration tags
License: MIT License
Riot.js Google Maps integration tags
License: MIT License
This is due to the applyupdater not being able to compare two positions correctly. If you skip the equality check for just position updates or compare the lat and lng values, you will have a quick workaround i.e
if (updaterName == 'position' && (opt.lat() != prevOpt.lat() || opt.lng() != prevOpt.lng())){
updater(opt, tag);
} else if(!equals(opt, prevOpt)) {
updater(opt, tag);
}
write an example for how the Search Box tag can be used.
write some documentation for the different tags. Which events and properties exists.
<google-map>
tag<marker>
tag<search-box>
tag<directions-renderer>
tagwrite some example code on how the marker tag can be used.
Add a Getting started section to the readme
Write an example for using the Google Map tag with markers
write an example using the DirectionsRenderer tag for showing directions on the map.
Hi,
When i use your simple-info-window.tag
in my codebase i get the effect as shown in the linked image, http://oi64.tinypic.com/rh37de.jpg. My assumption is that it renders the info-window nested content, which is what it should do anyway.
Although, i've run your example info window and it does not show the nested content. I'm not exactly sure what you did since i can't find anywhere in your code where you explicitly hide the nested content (i.e the info window content) after cloning it. I know the content is behind the map somewhere, i just dont know what css rule you used to hide it. Any suggestions
map-ids on the tag need to be unique otherwise all getMap() calls will return the first instance it finds. This should be validated when adding the riot mixin
does not work with babel 6, you need to change tag type from es6 to babel and also upgrade to riot 2.3.13 because of riot/riot#1394
Setup a github page to host the examples and documentation.
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.