Extern library for "leaflet.js?"

115 views
Skip to first unread message

Mike Robinson

unread,
Mar 25, 2015, 1:29:52 PM3/25/15
to haxe...@googlegroups.com
It looks like someone named Greg Dove actually built and perfected a Haxe extern-library for "leaflet.js," but never got around to releasing it.

Did anyone else do it?  Am I somehow missing finding it?

I'd like to do exactly what Greg did on the page aforementioned, without re-doing what he did two years ago.

Sven Bergström

unread,
Mar 25, 2015, 3:18:02 PM3/25/15
to haxe...@googlegroups.com

Mike Robinson

unread,
Mar 25, 2015, 9:19:15 PM3/25/15
to haxe...@googlegroups.com
As a matter of fact, I have heard (very quickly) from Greg, who told me that I'm the first person to have expressed an interest in his effort since he did it.  He said he'd post something somewhere – I suggested github.

Brennan Kinney

unread,
Mar 26, 2015, 5:10:24 AM3/26/15
to haxe...@googlegroups.com
Please share the link when made available :) I'd be interested in that too.

François Barbut

unread,
Nov 17, 2015, 11:33:37 AM11/17/15
to Haxe
Hey haxe dudes,

I started today a veeeery simple extern here : https://github.com/bablukid/hxleaflet

contributors are welcome !

basic usage  : 

 var map = L.map('map').setView([44.840463, -0.568444], 12);

 
var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
 
var osmAttrib='Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors';
 
var osm = new L.TileLayer(osmUrl, {minZoom: 8, maxZoom: 32, attribution: osmAttrib});
 map
.addLayer(osm);
 
 
var icon_drive = L.icon({
 iconUrl
: '/img/drive.png',
 
});
 
 
var icon = icon_drive;
 
 
 
var txt = "<h4>Marché de Lerme</h4>";
 
var marker = L.marker([44.8473196,-0.5853868],{icon:icon}).bindPopup(txt).addTo(map);

David Mouton

unread,
Nov 26, 2015, 4:10:53 AM11/26/15
to Haxe
Reply all
Reply to author
Forward
0 new messages