2gis / 2gis-maps-react Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] React component for 2gis-maps
Home Page: https://github.com/2gis/mapsapi
[DEPRECATED] React component for 2gis-maps
Home Page: https://github.com/2gis/mapsapi
Please use Git tags and GitHub releases for near-stable versions in your workflow.
I look it: https://github.com/2gis/2gis-maps-react/blob/master/src/Icon.js
In the setIcon method I see the next code:
DG.icon({
iconUrl: this.props.iconUrl,
iconSize: this.props.iconSize
})
Where other properties? For example: I don't see iconAnchor property, but it's so much important.
Maybe, have make sense change setIcon method body to this.props.element.setIcon(DG.icon({...this.props}));
Please publish this component on Bower.
I can create bower.json file and submit pull request, if you want. ;)
Is it possible to use just npm install 2gis-maps-react
instead of npm install 2gis-maps-react 2gis-maps
, if "2gis-maps"
will be added to "dependencies"
in package.json
?
Please add built files into the repo. For more info see discussion here: 2gis/mapsapi#382.
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.