[Gambas-user] Question

Fabien Bodard gambas.fr at ...626...
Wed Sep 30 19:38:32 CEST 2015


Well it's just too expensive for me :-)... 490 € per year ...

But i can try to do a demo with the free trial version after the
grappe harvesting

Or maybe someone have an appid and an app code.

then your app need to make a call to that :
http://signature.venue.maps.cit.api.here.com/venues/signature/v1?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

to obtain a json return

then you get the signature and policy values and key-pair-id

and can construct the tile pattern

something like

hCol!signature=...
hCol!policy=...
hCol!key-pair-id=...
hCol!app_id=...
hCol!app_code=...


map.AddTile("http://static-{s}.venue.maps.cit.api.here.com/0/tiles-png/L0/{q}.png?Policy={policy}&Signature={signature}&Key-Pair-Id={key-pair-id}&app_id={app_id}&app_code={app_code}",
hCol)



where
{s} is a subdomainserver 1 to 3

{q} is a calculated quadkey

{everithing} is a value in the provided collection.

Well it's the way to do ... but i've not tested it.






2015-09-30 19:14 GMT+02:00 Fabien Bodard <gambas.fr at ...626...>:
> I can use already Here with gb.map it's a quadkey based tiling just like Bing
>
> 2015-09-29 23:52 GMT+02:00 adamnt42 at ...626... <adamnt42 at ...626...>:
>> On Tue, 29 Sep 2015 21:18:40 +0200
>> Tobias Boege <taboege at ...626...> wrote:
>>
>>> On Tue, 29 Sep 2015, Jussi Lahtinen wrote:
>>> > How does the mapviewer work..? I get only empty view, and quickly I don't
>>> > see way to define the map.
>>> >
>>>
>>> I believe we have a gb.map example using MapView here[0], German though.
>>> Scroll all the way down the page to find the download section.
>>>
>>> Regards,
>>> Tobi
>>>
>>> [0] http://www.gambas-buch.de/dw/doku.php?id=k24:k24.8:k24.8.1:start
>>>
>>> --
>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> Tobi,
>> That was great, I have been struggling with the MapView for 3 days.  A couple of questions though.
>> 1) Is there an example using the GoogleMaps provider?
>> 2) If the provided lat/long numbers are invalid, a "Mathematical Error" occurs, but I cant seem to trap this in the client program. Both Try and Catch methods don't work.  I get a stack backtrace of:
>> Geo.MapPointToTile.19
>> _MapTile.Load.166
>> Map.tmrLoad_Timer.172
>> in the IDE which then stops.
>> 3) Have you considered an interface to the Nokia "Here" map provider? It seems faster than the GoogleMaps web and has a couple of nice features.  e.g. https://www.here.com/?map=52.79089,11.7536,15,satellite
>>
>> regards
>> bruce
>> --
>> B Bruen <adamnt42 at ...3379... (sort of)>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard



-- 
Fabien Bodard




More information about the User mailing list