use wasm_bindgen::prelude::*;
use crate::Layer;
#[wasm_bindgen]
extern "C" {
#[derive(Clone, Debug)]
#[wasm_bindgen(extends = Layer, js_name = "geoJSON")]
pub type GeoJson;
#[wasm_bindgen(js_namespace = L, js_name = "geoJSON")]
pub fn geo_json(geojson: &JsValue, options: &JsValue) -> GeoJson;
#[wasm_bindgen(method, js_name = "addData")]
pub fn add_data(this: &GeoJson, data: &JsValue);
#[wasm_bindgen(method, js_name = "resetStyle")]
pub fn reset_style(this: &GeoJson, layer: Option<&Layer>);
#[wasm_bindgen(method, js_name = "setStyle")]
pub fn set_style(this: &GeoJson, style: &JsValue);
}