Comments (9)
Looks good to me :)
from angular-leaflet-directive.
Great :)
I will show you a demo of the new code in a few days. I'm restyling your multimarkers-paths demo with the new code.
from angular-leaflet-directive.
Yep, I saw it in the dev branch :) Looking forward to the new demo!
from angular-leaflet-directive.
Hi, I have tagged the "master" version as 0.1, and will merge the "dev" branch into master soon.
houqp, could you take a look at the "examples/path-example.html"? It's based on your full-example.html, please, add or remove anything you consider important.
I have substituted the "smooth factor" with a stroke width to the watcher, but we can add any others properties of the path to the watcher if you consider them important enough.
from angular-leaflet-directive.
Just checked it out, looks a lot better than my original one, great work!
I will try to add more features in this weekend. :)
from angular-leaflet-directive.
@tombatossals , btw, in the examples, should we use:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>`
instead of:
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>`
For the //
case, if a user opens it directly with browser, it won't work.
from angular-leaflet-directive.
Hi, doesn't it works to you? What navigator and version are you using? The double slash URL inherits the protocol (theorically) if the browser supports the corresponding RFC.
See this thread of stackoverflow talking about this:
http://stackoverflow.com/questions/4659345/is-there-any-downside-for-using-a-leading-double-slash-to-inherit-the-protocol-i
If you think this could be a problem to some browsers let's change it. I'm always using the latest Firefox/Chrome browsers,
from angular-leaflet-directive.
It works for me if I host it using a web server, then the protocol inherited is right. But if I open it directly with firefox, the protocol will become file://
, then CDN breaks ;p
from angular-leaflet-directive.
You're right, on older versions of firefox exists this problem.
Let's change the references as you say, I agree.
from angular-leaflet-directive.
Related Issues (20)
- Is there any support for offline map ? HOT 2
- Tiles error on load in Electron HOT 1
- $scope.path not working when click
- Having issue with tiles which are not being displayed when I want to print my leaflet map
- Central leaflet marker always when map moves
- Cannot read property 'innerText' of undefined at updatePopup
- zoomDelta and zoomSnap are not supported
- Map Not getting refreshed after changing dynamic map profile
- what are you think about convert this repo to new angular (5)?
- How to add simple custom-control to map
- how to override angular-leaflet-directive popup close button
- "The page can't load Google maps correctly"
- the version for angular JS is limited ?? or I can do all ?? as if i were use leftlet.js ????
- Any known issues related to WorldCopyJump w/ Leaflet 1.3.4? HOT 1
- How to draw markers snap to road on map ?
- Unable to load ExtraMarker Plugin HOT 1
- Helpful tip on compiling popup templates
- I can not use some characters in markers
- markers with special characters like dot HOT 1
- Is it possible to GEOJSON open popup by GET param in the url?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-leaflet-directive.