-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basemap Selector not working in Builder #14
Comments
I am not experiencing this, the basemap selector works fine for me. What are you doing differently from what I have described (using google cloud vs DO for example) |
Hey Chris, just verifying - the basemap selector works in the Builder front end not just in the older Editor? Other than being on Google Cloud i did everything by your instructions. |
@Prindle19 I have the same error when click on Basemap Selector in Builder from file
I believe it is linked to the fact that in Perhaps, in order to solve the problem, you may want to try removing NOKIA and enter HERE maps in If I work out, I will report the solution |
Hey @pasing Thanks for the suggestion. I made the change in app_config.yml and restarted the container but unfortunately I now get the same error just with:
|
@Prindle19 I have copy file from container to host with this command:
Then I copied the files from the host to the container with this command: Finally I restarted the daemon and start the docker container with {container id}. |
@pasing Thanks! Confirm that that works. Hmm, so interesting, now it looks like Builder (since it loads externally hosted JS rather than locally hosted like Editor) limits the types of basemaps that you can use to CARTO and Stamen ? That's unfortunately, because I'd like to be able to add a pre-configured z/x/y tile set in the app_config.yml and have it available in both builder and editor. I guess I can fake that by just adding them under Carto or Stamen. |
@Prindle19 Removing base maps Nokia the Basemap Selector in Builder has resumed operation. I think you can add more than basemap. Surely from the panel you can add, over Carto and Stamen:
I hope this info is useful! |
Sure was! I just was just saying that I'm now somewhat limited to the Carto and Stamen top level map types, and if i want to pre-populate some custom tile servers for my users, i need to make new "fake" entries under the Carto or Stamen groups. It also seems subject to random changes from Carto since Builder is being loaded via external sources vs static local files. They could, for instance, decide to remove Stamen at any time. |
To summarize, the carto UI is looking for HERE basemaps and the
appconfig.yml is defining "Nokia" maps?
…On Tue, Mar 21, 2017 at 17:39 Sean Wohltman ***@***.***> wrote:
Sure was! I just was just saying that I'm now somewhat limited to the
Carto and Stamen top level map types, and if i want to pre-populate some
custom tile servers for my users, i need to make new "fake" entries under
the Carto or Stamen groups.
It also seems subject to random changes from Carto since Builder is being
loaded via external sources vs static local files. They could, for
instance, decide to remove Stamen at any time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABv7XIRp-Bd7HB9Lj10CYCRjkaGKcMafks5roEN9gaJpZM4MaqTC>
.
|
I think to be able to use the basic maps HERE must generate an APPID and APPCODE enrolling in HERE Developer WebSite Once created the application and set the settings you can use these base maps Obviously the use of the HERE REST / API services requires acceptance of the terms and plans. The BASIC plan is the only free but is limited to 15K / month. I think the same applies to the basic maps google. |
Oh that makes sense, do you know where you would apply these keys (or the
Google API key / Client ID)?
…On Wed, Mar 22, 2017, 5:25 AM Pasquale Inglese ***@***.***> wrote:
I think to be able to use the basic maps HERE must generate an APPID and
APPCODE enrolling in HERE Developer WebSite <https://developer.here.com/>
Once created the application and set the settings you can use these base
maps
<https://developer.here.com/rest-apis/documentation/enterprise-map-tile/topics/examples-base.html.>
Obviously the use of the HERE REST / API services requires acceptance of
the terms and plans. The BASIC
<https://developer.here.com/plans#standard_features> plan is the only
free but is limited to 15K / month.
I think the same applies to the basic maps google.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABpshll1XsgFbNaI_9oW8OByJuduaup6ks5roOkigaJpZM4MaqTC>
.
|
This is the GMaps parameters to set in the I have set this in my I have so far failed to solve the problem! |
Anyone had luck with this? My team is using carto as an "instant backend", so we don't actually make maps in the UI, we just use the Maps API. Happy to make some changes if we find the correct config. |
I know you're not using Builder, but I'm wondering why the Basemap Selector in Builder doesn't work?
The basemap selector works fine in editor, using the sources configured in the .yml
In the Builder, when you click on the Basemap to change it, you get the error:
Uncaught Error: Can't create basemapModel for basemap of type: Nokia
at D.createBasemapModel (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/editor3.js:39:5469)
at N.d. (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/editor3.js:37:28266)
at https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/vendor_editor3.js:66:3517
at Function.u.map.u.collect (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/vendor_editor3.js:66:4576)
at N.d. (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/editor3.js:37:28220)
at https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/vendor_editor3.js:66:3517
at Function.u.each.u.forEach (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/vendor_editor3.js:66:4420)
at u.(anonymous function) [as each] (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/vendor_editor3.js:66:17545)
at N.d._initCollections (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/editor3.js:37:28199)
at N.d.initialize (https://cartodb-libs.global.ssl.fastly.net/cartodbui/assets/4.6.25/javascripts/editor3.js:37:28080)
The text was updated successfully, but these errors were encountered: