Build Cardview with Tiles

This forum covers all questions dealing with visualization of data within the native PTV xMap interface. Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
Post Reply
Freund
Posts: 10
Joined: Mon Mar 14, 2016 4:34 pm

Build Cardview with Tiles

Post by Freund »

Hello,

we use a control to view carts Like OSM.
The technology behind is getting all tiles in webrequests.
I have found the gettilere quest at http://xserver.ptvgroup.com/en-uk/cookb ... s-servlet/
So I tried some requests...
This works, but there are no informations on the map
https://ajaxbg1-eu-n-test.cloud.ptvgrou ... -xxxx-xxxx
But when I tried this...
https://ajaxbg1-eu-n-test.cloud.ptvgrou ... -xxxx-xxxx
I got
Kartendarstellung.png
As you can see, streetnames are cut and every request brings the cards legend.

What can I do?

Regards, Christian Freund
Joost
Posts: 307
Joined: Fri Apr 25, 2014 1:46 pm

Re: Build Cardview with Tiles

Post by Joost »

With the xMap 1 it is not possible to request the map fully tiled. This is something we are improving for xMap 2.
For now you can request the background tiled and the foreground as a big overlay.

Which control are you using? If it is a 3rth party control I can check for possible samples.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Freund
Posts: 10
Joined: Mon Mar 14, 2016 4:34 pm

Re: Build Cardview with Tiles

Post by Freund »

I found a (first) solution
I use the Style xmap-tiles there is no card legend.
But the Streetnames are allready cut.
If you use the file servers of OSM, Google or Bing, there are no problems.
User avatar
Oliver Heilig
Posts: 154
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany
Contact:

Re: Build Cardview with Tiles

Post by Oliver Heilig »

Hello Freund,

as Joost already mentioned: You cannot use xMap1 as a tile server, and there's no workaround for this. You can apply for an xMap2 preview for xServer internet. XMap2 can be used as pure tile server. If you want to test this, send your request to test xMap2 to http://xserver.ptvgroup.com/en-uk/servi ... port-form/

Oliver
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
AntonioAGS
Posts: 7
Joined: Mon May 30, 2016 11:22 am

Re: Build Cardview with Tiles

Post by AntonioAGS »

Hi!
We have sent a Support request because we want to use DevExpress MapControl WinForms control and we need access to xmap as a pure tile server (we've asked for access to test xMap2).
With the URL for satellite view from Nokia HERE found in your documentation, the DevExpress control has worked like a charm, so now we need the same kind of Access from xServer.

If it works fine (as we expect) we will post it here.
Thanks!
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Build Cardview with Tiles

Post by Bernd Welter »

By the way: xMap 2 has been released october 14th, 2016 - so the tile api is available now
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply