sigma-geosistemas / leaflet.awesome-markers Goto Github PK
View Code? Open in Web Editor NEWColorful, iconic & retina-proof markers for Leaflet, based on the Font Awesome/Twitter Bootstrap icons.
License: MIT License
Colorful, iconic & retina-proof markers for Leaflet, based on the Font Awesome/Twitter Bootstrap icons.
License: MIT License
Folks, good afternoon!
I got the ownership of this package for the same reasons, a few yeas ago. There were bugfixes and evolutions that the original creator was not being able to make them.
So I contacted Github and inherit it.
This was a time when I:
So it was easier to maintain. Today I have none of these things and time to contribute to open-source is getting scarce.
Does anyone want to take ownership of the package ?
Do you think you could publish this package to npm registry? Unfortunately it looks like it would like a bit of overhead with each release, but not that much.
Thanks for keeping this plugin alive!
For our project, we have a requirement to be able to add some additional text to the marker below the icon, e.g.:
This will be used to represent locations with more than one meaning, in the case of the mock-up e.g. 'Coffee and one other offer'.
The API could look like this:
var redMarker = L.AwesomeMarkers.icon({
icon: 'coffee',
markerColor: 'darkblue',
text: '+1'
});
Is that something you would like to see as part of the library? If so, I will happily implement and merge it.
At using plugin(https://github.com/sigma-geosistemas/Leaflet.awesome-markers#using-the-plugin), you mentioned "Add the ionicon stylesheet from a CDN or download ionicons". Do you have any example to use downloaded ionicons, not CDN?
This line https://github.com/sigma-geosistemas/Leaflet.awesome-markers/blob/master/package.json#L5 should probably point to dist/leaflet.awesome-markers.js
.
Also, this line https://github.com/sigma-geosistemas/Leaflet.awesome-markers/blob/master/package.json#L4 asks for the .
to be replaced with -
.
Value darkblue
is a valid markerColor
, but it is currently not listed in the readme file.
Hi,
I am using
Ionic 3.0
[email protected]
[email protected]
@types/[email protected]
@types/[email protected]
When I use ionic serve, I get the above error. But when I make any change to the code and it auto builds the changes and the issue is gone. But it always occurrs when I first run the ionic serve command.
I noticed that you introduced square icons to your fork, something that wasn't available in the original version. However, it seems like both versions have the same limitation in number of colors being limited due to the fact that markers are rendered from sprites. This limitation, however, does not exist for the foreground icons, which use fonts.
What if instead of using sprites, the library would define the background marker as a font as well (currently with 2 marker types: round and square) and render it behind behind the foreground icon via css? That way the user can use any of the 16 million available colors for the background.
Hello!
I have difficulty using your plugin with react.
have you a sample code (react) of leaflet.awsome-markers.
Thank you in advance.
After installing by npm, I imported the module with leaflet in Ionic 3 like below.
import 'leaflet';
import 'leaflet.awesome-markers';
This emits error "Can not find module" like title.
Do you have any idea?
I really would like to use it with ionic. But i am not able to get it working. Would you please provide detailed steps what to do?
I already have leaflet working.
It has been a while since last release. Important fixes like #6 were not included, making webpack unable to bundle the package correctly.
@AlexGreg hey man, since you're doing a good job with this, add yourself to the contributors to the package.json
file.
https://docs.npmjs.com/files/package.json#people-fields-author-contributors
Please, if you can, remove Sigma Geosistemas
from the author and place it under contributors as well.
I tried to use this with react leaflet but i got some problems
Is it compatible with react leaflet?
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.