Skip to content

Instantly share code, notes, and snippets.

@i-am-the-slime
Created December 15, 2015 12:06
Show Gist options
  • Save i-am-the-slime/5fbacc3a72dd117fe716 to your computer and use it in GitHub Desktop.
Save i-am-the-slime/5fbacc3a72dd117fe716 to your computer and use it in GitHub Desktop.
package io.plasmap.pamphlet
import scala.scalajs.js
import scala.scalajs.js.annotation.JSName
@JSName("L")
object Leaflet extends js.Object {
def map(targetDivId:String, options:LeafletMapOptions):LeafletMap = js.native
def point(x:Double, y:Double):LeafletPoint = js.native
def tileLayer(url:String, tls:TileLayerOptions):TileLayer = js.native
//[...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment