public int getLayerIndex(Layer layer) { return MapImpl.getLayerIndex(getJSObject(), layer.getJSObject()); }