Map Navigator for SAPUI5 - sapui5

i'd like to ask about your idea how we can implement a map navigator in SAPUI5? For example, we need to get the current location of the user, then suggest the nearest fastfood around him. Is this possible in SAPUI5?

yes its possible.. Search in the internet and come up with something.
Get started here: http://www.w3schools.com/html/html5_geolocation.asp
http://demos.jquerymobile.com/1.4.0/map-geolocation/

It is possible to integrate map API into a SAPUI5 application. Firstly you need to decide which map provider should be used in your case. for example, if you want to use google map you can refer to this blog https://blogs.sap.com/2014/07/01/google-maps-library-for-ui5/
But SAPUI5 library provides a map control to integrate with geo map. you can refer to http://veui5infra.dhcp.wdf.sap.corp:8080/sapui5-sdk-dist/test-resources/sap/ui/vbm/bestpractices.html

You can use either SAP controls for that, for example this one:
sap.ui.vbm.GeoMap
Or you could pick any free JS third-party library and integrate it with your sapui5 view.
(There are many threads explaining how to use third-party libraries in sapui5).

Related

Alternative to google maps places autocomplete

is there any alternative to google to implement a places autocomplete in flutter?
I am developing an application that needs the geolocation of places (I don't need to show the map) and use their coordinates
You can use Open Routes API's asi an alternative solution.
https://openrouteservice.org/dev/#/api-docs
Check that service as a reference... There is an option called "Directions" that can help what you are looking for...

OpenStreetMap for flutter

I want to use OSM in flutter .but I cannot add it to flutter and i want to use any free maps like this.
I don't wanna pay for APIs .what should I do?
Is there any way to add OSM To flutter.
it takes couples of day and I can't add any map to my app!
You should use the flutter_map package, like quoci said in the comments.
It allows you to view maps from any source that gives a URL as an access method. There are plenty of setup instructions and examples on the package's readme page for you to get started.
You can even use Google Maps' Static Tiles API URL (which, don't quote me on this part, I think is legal to use without payment).

Search for locations with flutter_map

I am using the Flutter Package "flutter_map" (https://pub.dev/packages/flutter_map) and have implemented a map into my flutter application.
Now I want to add a search box where I can search for places which will be then focused on the map. Is something like that already included in the flutter_map-Package? I could not find anything so far.
You'll need to use an external API to search for places. As long as you follow their terms of service and don't use them for auto completion, https://nominatim.org/ is a good one for this, and it's free + open source.
Then, you can use flutter_map's MapController() to move the map to that latitude longitude returned from the API request.

Custom Maps in iPad App

I just want to build a drill down map like this - Drill Down Map
Here I want to show some data on tapping of each regions.I am out of clue. How can I ? What should I use ? From where to start ?
EDIT : In the link it's showing the country name on mouse over, instead of that I want to show some data/info of the country on touch. Please visit the map shown in the link,you'll get the whole idea.
Thanks !!
If you want total control on the map layout, and be able to check which country the users taps, there's no secret : you need to have boundaries of all countries you want to detect.
Here's the global approach I would use to reimplement something that looks like the map you linked to (I can you into more details if you want, but at first, here's the global approach) :
Get the data of the boundaries of the countries you need. This can be done using OpenStreetMap.org data.
[EDIT] I just came accross this website to download countries boundaries as files you can then use with tilemill : http://www.gadm.org/country
Use this data with tilemill (http://mapbox.com/tilemill/) : this tool is able to design maps using a language that looks like CSS but dedicated for maps. The results is great and the tool great as well. This tool also support shapes files, so if you can get the countries boundaries as shapefiles, you'll be able to use them with tilemill, and this will be easier than using .osm files from open street map). Have a look here http://mapbox.com/tilemill/data/ for the supported formats.
Then, with tilemill, export your map as an MBTile file (this file contains all tiles needed to get the map rendered at different zoom levels).
Use the route-me project to display the resulting MBTile file (in its latest version, route-me is able to do that, this feature has been implemented by the mapbox team to support their open format MBTile).
Guys from Mapbox have published a good tutorial "from data to maps" here : http://mapbox.com/demo/making_massredistrict/ this may help as well
Your best bet is to use CloudMade ( http://cloudmade.com/ ). They provide custom map builders program where you can build custom maps and can integrate those maps in your iOS app.
Depends what you are looking for. To implement the linked example it's enough with a giant image that you can split in tiles using CATiledLayer. You'll find examples if you google a little, PhotoScroller is one. If you want to display real maps you have to investigate the route me project.
I don't think that using images could be good option.Check this link - arcgis-iphone api. I am not so sure but you can get some idea from this.
Happy to help..

Looking for an interactive pie chart to use with GWT (without extern communication)?

I'm looking for a stand-alone Pie Chart which I can use in a GWT application. The Chart should be interactive, so that I can react on user input (read mouse clicks on the chart).
I've already looked at Google Chart Tools with GWT Visualization. This is exactly what I want. A simple to use PieChart class with user interaction and a simple and comprehensive data input. Except that the data is transfered to Google for the rendering part. The data should not leave the client or our server.
Have you tried Fusion Charts? Here's the Pie Chart showcase. Its a Flash object hence you will need to use JSNI to embed the object into your widget or use a library like GWT2SWF to do it for you.
I have used Fusion Charts + GWT2SWF combination in one of my products, and would recommend it to anyone looking for a interactive flash charting tool (outside of google's toolset)
A colleague of mine found following library: GChart. Rather then using Flash we'll try to draw our own. Not sure how easy this will be.
You mentioned:
"The Data should not leave the server"
With Google visualization APIs (as opposed to the chart apis) the data remains on your server, only the code is downloaded from google.
However, if you meant that you shouldnt need access to google at all, then GCharts is the only remaining and a pretty good option.
Check out GWT-RCharts hosted on http://code.google.com/p/gwt-rcharts/ . It is stand alone i.e doesn't have external dependency like Visualization. The API works on SVG/VML specification so no plugin dependency. You may find it quite easy to install, implement and use. You can find the demo at http://gwt-rcharts.appspot.com/