Offline Map - Remove Google Label

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

Offline Map - Remove Google Label

Post by disala »

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: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Offline Map - Remove Google Label

Post by josh »

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: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Offline Map - Remove Google Label

Post by htuser »

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,
G.VOLNY, a CSProuser from Haiti, since 2004
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Offline Map - Remove Google Label

Post by aaronw »

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: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Offline Map - Remove Google Label

Post by htuser »

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,
G.VOLNY, a CSProuser from Haiti, since 2004
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Offline Map - Remove Google Label

Post by aaronw »

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