@Gremlin any progress you could share with us with your experimentation ?
thanks
@Gremlin any progress you could share with us with your experimentation ?
thanks
Haven’t got to it just yet, but it’s still on the task list.
I’ll update when I have some news.
Cheers
I have the same situation here. My app needs a dashboard (which I can do with Corona) but also a map view showing the route taken. This is my problem. The API does not seem capable of doing it, neither I found a way to use the webview with Google Maps to draw it. Any ideas?
Unfortunately, I can confirm that this is not possible. This is something we are also waiting for and even ask Gremlin Interactive for a new map view plugin. Our company would be ready to pay for a complete map plugin.
Well, you can do it with Google maps, writing javascript and html to address the Google Map API, and then running it in a webview. And you can pass data back to Corona using stuff added to the URL. It isn’t pretty, but you can do it.
If someone wants it I’ll dig it up.
I would check your findings for sure. I agree it is not the most beautiful way to use the maps in Corona but, at least, would be better than nothing
From our experience, this is an avenue we have try in the past. Unfortunately with such a scheme, we were limited to what we can do. For example, changing the center of the map require to regenerate the whole html things. Quite slow and not the best user experience.
Ok, here is a dropbox link. What you do is click draw on a map, then just click a few spots, say 3 or 4 (I think there is a limit), then save.
After that, click on show saved area. Then when the map shows again, just click once anywhere on the map and it will draw the saved lines that were send back from the corona code. Best of luck.
https://www.dropbox.com/sh/7zxy24zebrehhq6/AACbPXILC6qx5113rOv1GIE4a
Corona’s Map object (native.newMap) is a native object. It sits on top of the OpenGL canvas that the rest of your app is built upon. All Corona drawing APIs like display.newLine() are part of the OpenGL canvas. You therefore cannot draw on top of anything created with an API call that starts with native.*.
Rob
The answer will be to have an updated mapView or a thirdparty plugin that does the same thing described above but in the native map environment. At the very least on Android which uses the same Google maps this should be very possible if you have access to native calls. I have no clue if Apple Maps support this yet. I sincerely hope that the mapView does get some love from Corona Labs sooner than later. One can only wish!
Yes, being able to actually do something with the maps would have been really, really useful.
Agree totally. Looking forward to an enhanced version of map view.
We *might* be able to help out on this subject, but without resorting to making a new plugin for maps.
We will do some experimentation and let you guys know how we get on
This is interesting, can’t wait to see what you could do.
Looking forward to that. :)
@Gremlin any progress you could share with us with your experimentation ?
thanks
Haven’t got to it just yet, but it’s still on the task list.
I’ll update when I have some news.
Cheers
@Gremlin, any updates you can share with us on this topic?
@Gremlin, any updates you can share with us on this topic?
gremlin, +1 to that, thnx !