I am planning to develop a hybrid mobile app using ionic. One of the features i need is offline google map. Is there a way how to do it?
Is there a way to save offline google map on hybrid mobile app on ionic?
2.2k views Asked by Arelancelot At
1
There are 1 answers
Related Questions in MOBILE
- Doesn't work TrafficStats.clearThreadStatsTag() in Kotlin
- KeyboardAvoidingView makes a messy the flexbox
- How can I find a lost Samsung Device?
- How can I eliminate or deactivate the white flash that appears when I press a button via a mobile device?
- In MAUI how can I Show different appshell tabbars depending on the user role?
- Why doesn't TrafficStats.clearThreadStatsTag() work in Kotlin?
- How can I create an animation like WhatsApp archive button spawn animation with SwiftUI on watchOS?
- Not showing the widget wrapped with Obx in Android 14
- Is there a way to use Family Link group in my own application?
- Is it viable proxying all my mobile apps requests, to some kind knowing that a request is coming from a secure source
- How can I connect android app to arduino via Bluetooth?
- How to animate calculated position/container height when viewport changes?
- Unnecessary override. Try adding behavior in the overriding member or removing the override
- Selecting an option in the mobile app drop down which is not visible when the app is loaded for the first time
- Getting Real-Time Sensor Data from Smart Watches
Related Questions in GOOGLE-MAPS-ANDROID-API-2
- How to change the Contributed to Saved?
- Android Studio Google maps url encoding issue in Address
- Using google maps api key in open source GitHub repository in Flutter app
- Google maps API 18.2 - Can I get my shapes to be drawn in front of the buildings again?
- Android Google Maps V2 API center Longitude
- Cannot zoom in to current location in Android Studio
- Map on Jetpack Compose: GoogleCertificatesRslt: not allowed
- Google map crash android 14 Jetpack compose?
- Track my location only when I'm load this app / fragment at the second time
- How can I make only some markers clickable in Google map for Android?
- java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed:?
- wrong react native map boundaries when the map is rotated
- Is there a way that can move a the camera to a point on the map view on Android?
- Polylines can't be remove on the map
- REACT: Google Maps API key - Warning: NoApiKeys
Related Questions in HYBRID
- OpenMP multi-threading not working if OpenMPI set to use one or two MPI processor
- Blazor hybrid cant add migration
- Offline / Online Hybrid Java (Spring Boot) application
- Why does my MAUI Blazor hybrid app put an input box over the flyout button?
- .NET MAUI Blazor Hybrid - cannot resolve clr-namespace for Components.Routes
- Can I compare different hybrid forecasting models with different datasets?
- TypeError: Child2.__init__() missing 1 required positional argument: 'c'
- Problems with .NET Maui Hybrid Blazor Foreground Service
- React native Deepar SDK, Getting blank screen when reopens the camera in some Iphones #43
- HTTP Response-Codes for proxy-server (Nginx, Apache)
- why not seeing hybrid connection selection option in logic app workflow new connection configuration for sql get rows action
- Setup for upgrading from AngularJS guide - Deprecated repository alternative?
- What's the deal with encapsulatedKey? In Apple's HPKE.Ciphersuite.P521_SHA512_AES_GCM_256 Is this sensitive data?
- Deployed Android App not working with database
- Unable to use mobile device camera in Blazor MAUI Hybrid Application
Related Questions in ICONIC
- Ionic/Angular - The Menu icon disappears for large screens
- *ngif property binding error with Angular and IONIC 5
- Icomoon, open-iconic SVG icons not displaying in the blazor page
- Halcon - initialize tuple of iconic variables
- Halcon - Variable iconic variable name
- How can I let users remain logged in my android app
- Sass relative modules not found?
- cordova android build error: No resource identifier found for attribute 'appComponentFactory' in package 'android'
- React bootstrap open-iconic showing a 'T' symbol instead of the relevant icon
- Ionic 3 not rebuilding on file change
- Unable to resize Bootstrap open-iconic
- Open Iconic fonts not showing up on Windows 7 Chrome
- Ionic 3 - If session exists load tabs page instead of signup page
- How to install and use open-iconic with bootstrap 4 beta using CDN library?
- Angular 4 template binding for glyph icons
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It depends on the requirements of your application whether this will be possible. Are your users on "modern" devices A.K.A is HTML5 fully supported? Do your users need to view/edit the map globally, or just in a specific area? Does the map really need to be provided by google? I'll address some issues below to point you in possible takes on this problem.
Do you really need google maps? (Most optimal scenerio)
First of, do you really need google maps? Also relevant: how far do your users need to zoom their maps? If it can be any maps, and zooming is not really of high priority (if it is, including all map tiles will make the app eat all storage), you could probably use map-tiles as a packaged part of your app, and display them with a library like http://leafletjs.com/. The library is well documented, and provides a map-interface for a variety of map-providers. It will be do-able to configure this to use your own local map-tiles. You could include map-tiles for multiple zoom levels if necessary, and limit the min/max zoom-levels to the tiles you actually have available. This will make your maps work offline.
I can't or don't wan't to provide my own tiles make sure that you really looked into the option, there is systems out there that provide map-tiles you could use (check https://www.mapbox.com/ for example)
Okay, so you really don't want to do what I suggested. What are the options now? Javascript mapping-solutions typically render tiles based on the location of the map you want to see and the zooming level. These tiles are requested to the tile-provider. I do not know how to implement this for google exactly, you might need some research on this - I'll try to help you see a direction. There will be requests to get the tiles from the servers. I checked with http://maps.google.com what images are loaded when trying to navigate the map: (example (click)). Find out what url's are used in your situation, we will need these kind of url's later (just inspect the network tab in your browser console and see which requests are made when scrolling in your map). When we only need our users to work in a certain area when offline we could use service workers to cache the responses of these requests when we are online, and serve those caches when we are offline. Read more on service workers here (click).
Advantage: Real offline map-functionality for any tile you visited before (as long as your cache wasn't overflown, depending on your implementation of the service workers, and for service-worker supported browsers/devices).
Disadvantages: No support for tiles that were never put in the cache (AKA: never seen before). Another one: this will only work for devices that support service workers. Might be an option in situations where you either don't care about users using "older" devices, or where you can control the user's device choices. Note that using crosswalk could ease your developing efforts here, since you only have to consider one browser-runtime then: but crosswalk also doesn't support older devices.
However: This solution could be fine for people that will need to work in a specific area, which might be true for the case provided by @vipul-r If you or your users know in advance where they need their maps to work, you can instruct/help them in loading & caching their maps correctly.
If you can't work on either of these 2 solutions, then I highly doubt there will be a way to do it. I don't see any other way to the best of my knowledge.