it is an important decision, the issue revolves around supporting bower, which is still supported
webpack and yarn and the like are suggested for new projects
but unfortunately my project still depends on bower for building
and when installing trough bower, you can specify a git branch or something?
i'm not sure about that, i think you must specify a git endpoint, and you use tags to specify the version/branch
so you could use the tags to specify a particular version, but you could also use it to specify a particular branch for releases that support bower
or both of course
what would be the command to install a particular release?
you wouldn't do that from the command line - you would just do bower install leaflet-geosearch --save to automatically add the dependency, but it would download the latest version that's defined in the bower package you registered
what i would do if i wanted a specific version would be to add a dependency on that particular version in my own bower.json file, and then when i run bower install it would automatically download that one only
i believe that the tags you use on github are the way you manage the versioning directly
the semantic versioning spec is what is used, in fact the version string in the bower.json file in your package is not used
by versioning spec i mean, this is what you must use when you define your tags on the git
i have a doctor's appointment very shortly, so i must go for an hour or so, but i'll check in with you later about this
@smeijer it seems that it doesn't matter which folder the bundle.js file is in, it can't be concatenated because there's something about it that prevents the objects inside being exposed
i don't know if it's related to this webpack stuff inside or what
it's not clear if that's automatically generated boilerplate
Possible. Because in the node-world we all try to not expose anything to the global.
That's why "we" need these import statements :(
Which I'm very happy with by the way. But now for bower it really sucks
well not just bower actually, i think the reason why i am not just using the import statements directly is because i am trying to use angular directives
Hello! I'm trying to learn, but I have no idea on how to use this. I've downloaded and put the files in root. Can someone guide me trough the next steps?
That's not yet implemented, but would be possible. PR would be most welcome.
@smeijer Thank you for quick answer!
Hi guys! I need your help with leaflet-geosearch ._.
I'm creating a platform using leaflet and OSM for our map. Now, i'd like to use leaflet-geosearch to add a searchbar for locations and places. But as I'm writing "Import L from 'leaflet'; into my code, i get a report in my console on google, that there is a "Unexpected identifier" at "Import L from 'leaflet';" do you guys maybe know the answere?
Leaflet and leaflet geosearch is installed on my server aswell.
if you're writing Import with capital I, than that can be the issue.
Other option is that you're not transpiling with someting like babel, importstatements are not yet native in node, you could use babel, or change it to require statements.
Ha everyone, Quick questions
What would be the best option to use for an app that needs to get the geolocation (and preferably as much auto-input as possible) ? The app needs to work (as a start) in the netherlands but would we used more within a few months in other countries like the USA.
We, for example, considered the Google places API but it would show us enough results in the dropdown (only 5) and we could not intersect these results with, for example, the city that is already known in an other form-field..
@WillemTax did you figure this out? The Google api does allow a parameter to limit the area of interest. Not sure if it can be limited to a specific city though.
What are you exactly looking for? It sounds like you're trying to build adres completion, something with the Dutch BAG data?
Also there are some nice address lookup services available. I'm not sure if leaflet geosearch is the best library for your purpose.
Hi @mossplix , sorry.. late response.
Hello, I would like to add more providers, can some of you explain/guide me, but also I would like to current fix the issue related to the LocationIQprovider.
@Heni-ghodbane Hi! I'm developing a provider for Algolia Places API for now. You can check src/providers for examples. This is the easiest way for now, due to the lack of some documentation. But it's really simple :)
@yzinets Hi, thanks for the answer, I will check it out :) Algolia looks interesting too, while I am looking for a geocoding and map tile/routing provider.
where can i found an example of leaflet-geosearch?
how to add leaflet-geosearch in reactive form in angular?