I loaded a maps demo project but cannot open it because of getting error
Could not GET 'https://repo.cuba-platform.com/content/groups/premium/com/haulmont/addon/maps/maps-global/1.1-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden
I have a commercial subscription to CUBA Studio and don’t want to switch to trial.
What should I do?
Hi Evgeny,
Maps add-on is commercial and licensed separately from CUBA Studio subscription. You can check different pricing options on the Store page.
If you want to try it out, you can get a one-month trial version of that add-on. You don’t need to switch your Studio commercial subscription. Instead, you will receive a link to a local Maven repository with an add-on. All you need to do is to follow the instruction in the email and add that repository to your project. Follow this link to get a trial repo.
The trial version requires a card or a PayPal account, is this right?
Yes, 1 cent will be charged for verification purpose. No further transactions will be made.
Thanks, at last I’ve got the trial maps and have a question.
Leaflet library translates ‘{s}’ in url pattern into a,b,c,d subdomains by default. Is there any possibility to set other subdomains for maps’ TileLayer?
Hi, @evgenypopov
Could you please clarify your question?
Do you want to specify a subset of subdomains, for example only ‘a’ and ‘b’?
Hi
I want to set other subdomains (01,02,03,04) for Yandex tile provider url pattern “http://vec{s}.maps.yandex.net/tiles?l=map&x={x}&y={y}&z={z}”
Unfortunately, the current version does not support specifying subdomains for a TileLayer. There is a big chance that we will add this feature in the next release. As for now, you can specify a concrete subdomain right in the url-pattern, for example http://vec01.maps...
.
By the way, you should be careful with using the Yandex tiles outside their API, because it is against their usage policies.
Yes, with fixed subdomain tiles work normal.
I know about Yandex policy, but this is for the test usage only.
Thanks.