@@ -0,0 +1,1195 @@
+package com.cocoahero.android.gmaps.addons.osm;%0A%0Aimport java.net.MalformedURLException;%0Aimport java.net.URL;%0A%0Aimport com.google.android.gms.maps.model.UrlTileProvider;%0A%0Apublic class OpenStreetMapTileProvider extends UrlTileProvider %7B%0A    %0A    // ------------------------------------------------------------------------%0A    // Private Constants%0A    // ------------------------------------------------------------------------%0A    %0A    private static final String FORMAT = %22http://tile.openstreetmap.org/%25d/%25d/%25d.png%22;%0A    %0A    // ------------------------------------------------------------------------%0A    // Constructors%0A    // ------------------------------------------------------------------------%0A%0A    public OpenStreetMapTileProvider() %7B%0A        super(256, 256);%0A    %7D%0A    %0A    // ------------------------------------------------------------------------%0A    // Public Methods%0A    // ------------------------------------------------------------------------%0A%0A    @Override%0A    public URL getTileUrl(int x, int y, int z) %7B%0A        try %7B%0A            return new URL(String.format(FORMAT, z, x, y));%0A        %7D%0A        catch (MalformedURLException e) %7B%0A            return null;%0A        %7D%0A    %7D%0A%0A%7D%0A

Add OpenStreetMapTileProvider