Offline Map - Remove Google Label

Discussions about creating CAPI applications to run on Android devices
Post Reply
disala
Posts: 9
Joined: August 27th, 2016, 9:47 pm

Offline Map - Remove Google Label

Post by disala » January 13th, 2020, 12:55 pm

Dear all,

I created offline .mbtiles map to show survey locations (using my shape file and Openstreet Map), when I show map using following function without internet connection map renders and lower left corner it displays "Google". How do I remove Google label.
function viewMap ()
numeric zoomLevel=NN;
map blockMap;
blockMap.setBaseMap("xxxxxx.mbtiles");
blockMap.show();
end; // viewMap
Thanks in advance

Disala

josh
Posts: 2188
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Offline Map - Remove Google Label

Post by josh » January 13th, 2020, 2:07 pm

It is not possible to remove the Google label. The label is there because even with an offline map CSEntry uses the Google Map SDK to display the map and the SDK always adds the Google label.

htuser
Posts: 461
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Re: Offline Map - Remove Google Label

Post by htuser » January 13th, 2020, 2:26 pm

Hi Josh,
Do you have a plan for allow us to use open source offline and mobile ability such as Mapbox SDK and/or Leaflet?
Leaflet for example allow displaying on Desktop browser.

Please let us know about.
Best Regards,

aaronw
Posts: 312
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Offline Map - Remove Google Label

Post by aaronw » January 13th, 2020, 4:20 pm

We support the MBTiles and ArchGIS Tile Package formats. MBTiles was originally developed by Mapbox and is open format. We don't currently have plans to expand the supported formats.

htuser
Posts: 461
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Re: Offline Map - Remove Google Label

Post by htuser » January 15th, 2020, 11:12 am

Hi Aaron,
My message concerning more Mapping SDK rather than offline map file format.

Josh already think about Geopackage (https://github.com/CSProDevelopment/AndroidOfflineMaps), who can support vector, (for example Area of interest or other enumeration area...). So, we hope to have another offline map file format in the future!

So, i rather right now, think about open source mapping such as leaflet (not a such Mapbox who're pricing...), who will not oblige their logo (as Google does) and, a much more, allow to be displayed on desktop.

Best Regards,

aaronw
Posts: 312
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Offline Map - Remove Google Label

Post by aaronw » January 16th, 2020, 12:17 pm

I believe Josh was prototyping different mapping solutions and picked one. I don't believe he has any intentions of creating another implementation with another SDK.

Post Reply