Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Yet another Route plugin for QtLocation
-
hmm..why not?
-
Hi,
Did you thought about submitting your plugin for inclusion in the QtLocation module ?
-
@SGaist sure I did. But I have no clue about procedure. Do you have any ideas where to start?
Thanks
-
Sure, it starts with the Gerrit introduction
-
@SGaist thanks. will take some time to investigate probably
-
@AlGrenadine WIP
-
@vladstelmahovsky 1st implementation of GoogleMaps plugin can be found here
So far only routing implemented
Tiles, geocode, places in TODO
-
Google maps updated with tiles maps support
Due to copyright string gets injected in each tile, the map itself looks...hmm..ugly
Also its quite easy to reach requests day limit (25000/day), so be careful
Plugin sources available here
-
It seems, there is a bug/design decision in QMapScene/Tile rendering engine which makes usage tiles with size differ from 256x256 impossible. correct me if I'm wrong
-
Shouldn't setTileSize allow to change that ?
-
@SGaist yes, it changed, but it seems, x and y values of requested QGeoTileSpec's almost the same
Or I'm doing something wrong or math behind thist sticked to tiles 256x256
-
@vladstelmahovsky GoogleMaps plugin updated with new tiles engine, w/o annoying copyright on every tile (this doesnt means that you dont have to put copyright sign over the map)
-
Nice !
Did you solve the tiling size issue ?
-
@SGaist nope. I think its hardcoded somewhere in tile renderer. But with new code its not needed anymore
-
That's a good news :)
-
My project works with "osm" and "here" plugins provided by qt. How do we add this plugin to the project. Any help in this regard is highly appreciated!
-
Hi,
Build and install the plugin. It should go on the corresponding subfolder in your Qt installation. From there you can use it like the other plugins.
-
-
@saitej this is because you trying to execute plugin which is impossible of cause. Choose your application as active project
When building plugins dont forget to add "make install" step to the project settings to make sure your plugin will be integrated into current Qt build
-
Btw, any1 interested in TomTom maps support?
-
@vladstelmahovsky
Do u have Bing Maps support ?
-
no. So far i'm not planning for Bing support
-
Hi
initial TomTom plugin comitted at: https://github.com/vladest/TomTom
So far only maps and routing implemented
-
@vladstelmahovsky Google maps plugin updated with Goecoding/Reverse geocoding support
-
@vladstelmahovsky thanks for your wonderful plugin, but I need to add more map types or styles to use in my apps
How can I support a new MapType in your plugin?
I am not sure what other types of maps does Google Map support, but I need something like what is used in Uber and other apps on Android. Is that possible?
-
@Yasser-Sobhy can you give an screenshot example?
-
@vladstelmahovsky I have read Google Static Map API at https://developers.google.com/maps/documentation/static-maps/intro
I think you need to add a few parameters to your plugin so maps get correctly rendered on mobile devices, these parameters are: scale, and format
also I wonder if you plan to add Bing Maps support, you can achieve this with a few changes to you Google Map plugin, as the API is almost the same https://msdn.microsoft.com/en-us/library/ff701724.aspx
I can create it, but I am very busy now and I have no time to do this, if you have time to write it, please do to enrich QtLocation
Thanks
-
Fixed routing in google plugin. Now path is correct
-
@vladstelmahovsky Great work!
Is it possible to use your plugin without having a custom Qt build? Like as part of my application. assume i haven't installed the Qt sources, just .dll on my windows. If so, is there anything to pay attention to?
Thx.
-
@petere if you'll build and install plugin for your Qt it will be added to Qt's plugins and should be deployed later on your target (at least it works for Android)
-
Great. Now i understand and it works - on Windows.
-
@vladstelmahovsky
Why can i see no tiles at Terrain Map and no labels and streets at Satellite Map?
And which parameters are available? From your code i see:
ors.useragent
Ors.places.host
googlemaps.maps.apikey
googlemaps.maps.signature
googlemaps.maps.client
googlemaps.useragent
-
- since the API is semiofficial, there might be different deviations
- Some cleanup needed
-
Thanks for the google map plugin, I study this post, the codes of your plugin and got some questions
1 : All of the information of google map are obtained by static api of google map?
2 : How could we support offline routing, offline search by term? By now all of the routing information are get from the server, to implement offline routing, we need toa : download require map, data from the server
b : write our own algorithms to search the locations by terms and routing? I guess every maps data got their own format, but the locations searching and routing algorithms should be the same?3 : QGeoTileFetcherGooglemaps is the main class of this plugin, which in charge of create request(by static api) and get the results back by the other classes?
Thanks a lot