Commits

Todor Todorov committed 0cc28a5

osmarender no longer supported by OSM

Comments (0)

Files changed (2)

gwt-openlayers-client/src/main/java/org/gwtopenmaps/openlayers/client/layer/OSM.java

         return new OSM(OSMImpl.Mapnik(name, options.getJSObject()));
     }
 
-    public static OSM Osmarender(String name)
-    {
-        return new OSM(OSMImpl.Osmarender(name));
-    }
-
-    public static OSM Osmarender(String name, OSMOptions options)
-    {
-        return new OSM(OSMImpl.Osmarender(name, options.getJSObject()));
-    }
-
     public static OSM CycleMap(String name)
     {
         return new OSM(OSMImpl.CycleMap(name));

gwt-openlayers-client/src/main/java/org/gwtopenmaps/openlayers/client/layer/OSMImpl.java

         for (i = 0; i < urls.length; i++) {
         wmsURLs[i] = urls[i];
         }
-        
+
         return new $wnd.OpenLayers.Layer.OSM(name, wmsURLs, params);
     }-*/;
 
        return new $wnd.OpenLayers.Layer.OSM.Mapnik(name, params);
     }-*/;
 
-    public static native JSObject Osmarender(String name)
-    /*-{
-       return new $wnd.OpenLayers.Layer.OSM.Osmarender(name);
-    }-*/;
-
-    public static native JSObject Osmarender(String name, JSObject params)
-    /*-{
-       return new $wnd.OpenLayers.Layer.OSM.Osmarender(name, params);
-    }-*/;
-
     public static native JSObject CycleMap(String name)
     /*-{
        return new $wnd.OpenLayers.Layer.OSM.CycleMap(name);