Anyone know how I can add openstreetmap to a joget dx form? Can I then use this map to show the location of assets I have created in Joget? - joget

I see mention of how to add google maps to a joget dx page, but I want to use Openstreetmaps instead. I cannot see anywhere in the Joget documentation how you can then use this map to display the location of the assets (jobs, or any other entity you have the address of).
I am obviously a bit thick (!!) so any help gratefully received.
Reading the Joget DX documentation

Related

How to build a route from an array of coordinates in "flutter" using "Mapbox"

I am new to mobile development and have set myself the goal of creating an application that will follow me, the scenario is as follows, I launch the application, press a button and after that the longitude and latitude coordinates of my current location are sent to the server every 5 seconds, after about an hour- two walks around the city in the database there is an array of coordinates.
Next, in the application that I create on “flutter”, a map of my journey should be displayed. From the forums, I understood that "mapbox" is ideal for visualizing a route with lines between coordinates, but I could not find tutorials on how to do this with an array of coordinates. Please tell me where to learn how to work with this library.
In the official docs, I couldn't figure out what I need to learn. Maybe you know sites with recipes or with ready-made examples of building routes using an array of coordinates? Thank you in advance.
I could not find tutorials on how to do this with an array of coordinates. Please tell me where to learn how to work with this library. In the official docs, I couldn't figure out what I need to learn.

Google map still loading when animating locations

I want to animate google map from one place to another. I use following code to do this;
final GoogleMapController controller = await _controller.future;
controller.animateCamera(CameraUpdate.newCameraPosition(_endPlace));
The animation works fine. But when I move to the new location the map take some time to load at the new location.
Is there a way to pre load the maps needed along the animation path?
Its not about exactly flutter, but one of technically possible way is to use TileProvider with local preloaded (or loaded in separate threads) tiles files like in this answer. Tiles you can get via URL like that:
http://mt1.google.com/vt/lyrs=m&x=91&y=53&z=7
More about tile coordinates you can find here.
Also read carefully General information and Google Maps Terms of Service especially:
b. copy the content (unless you are otherwise permitted to do so by the
Using Google Maps, Google Earth, and Street View permissions page or
applicable intellectual property law, including "fair use");
c. mass download or create bulk feeds of the content (or let anyone else
do so);
because Google don't allow that. May by OSMDroid is better for you.

Modify an exisiting OSM leaflet map and add POI

I wanted to know if it's possible to use the map here (not mine) : https://www.vinci-autoroutes.com/fr/autoroutes-temps-reel (it's an official french road traffic service) to display it in my website and modify the zoom, location and add some point of interest ?
Like that screenshot I edit :
And if it's possible I want to know how do it ^^
thx

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..

Current Location to destination using mapview or google maps for the iphone iOS Xcode 4

SO I am a totally new and do not know where to begin. I basically want to create a view that shows the users current location and directs them to my set location (park, concert, business, etc.). It seems fairly simple but there is so much smoke and mirrors online that I do not know where to start or how to finish. Would it be easier to call to google maps or use the mapview in the SDK?
And the bigger question is how do you do this? I mean I can create simple views and load webviews but I can not figure this out.
Use MKMapView .. its fairly straightforward to set up -- you can get the current location from CLLocationManager and pass its coordinates to the map view.
http://mithin.in/2009/06/22/using-iphone-sdk-mapkit-framework-a-tutorial
Have a look at this website http://www.martip.net/blog/localized-current-location-string-for-iphone-apps
it will help you with the current location thing.
Directions are part of the Maps application and are not available in the MapKit API. To give your users Google Maps directions, you need to use the Maps URL scheme, as documented in the Apple URL Scheme Reference. Specifically, you need to include the saddr and daddr parameters in the URL, which specify the start and destination addresses for a directions search, respectively. I believe you can pass latitude/longitude coordinate pairs (comma-separated) for those parameters, but you’ll have to experiment a bit to find the correct formatting and order.
By "direct" do you mean actually show a path for how to get there? That there is no API for. You can place a pin anywhere on a map to show people where something is, but they have to figure out how to get there themselves.
The term you are looking for to add points to a map is adding Annotations to an MKMapView.
Have a look at this website it may help you http://www.raywenderlich.com/2847/introduction-to-mapkit-on-ios-tutorial