Comments (6)
Hi @degatt2! Could you please check what's the value of the origin
request header being sent from inside a Figma plugin? Does it also happen when you're developing on localhost without a Figma plugin, like on a simple HTML page? Normally, when the origin
request header is sent, the corresponding CORS headers are sent back. Also please note that http:
requests are redirected with 301 to https:
for that resource.
from maps-api-for-javascript-examples.
Hi @oleksmarkh - I am also getting the same error. Please find attached the HTML example file for the same.
demo.txt
from maps-api-for-javascript-examples.
This issue is resolved for me. just use https
instead of http
in URL:
http://js.api.here.com/v3/3.1/styles/omv/miami/normal.day.yaml
from maps-api-for-javascript-examples.
from maps-api-for-javascript-examples.
sorry forgot to mention one more thing remove headers from line: 36 {headers: {'access-control-allow-origin': '*'}, in my code.
from maps-api-for-javascript-examples.
As I understand, CORS issues aren't tight to the Figma Plugin environment itself, rather to actual style URLs. We can reopen this one in future to track down particular root causes of unexpected CORS blocking, having some isolated and reproducible examples. Thank you for the reports!
from maps-api-for-javascript-examples.
Related Issues (20)
- [Issue] Opening an Infobubble on a Mouse Click HOT 4
- Is there a way to identify road type (dirt road, functional class type) on the map? HOT 2
- avoid multiple areas in v8 route api HOT 2
- HERE Maps API JS : How to change the date format in incident popup? HOT 1
- cannot install simple-element-resize-detector HOT 2
- Tangram: Style: error compiling program
- how drawing polygon HOT 2
- TypeScript definition errors HOT 3
- Delay to open 10000+ data, page stuck and alert display to exit page or wait on chrome HOT 2
- Polyline Arrows not showing
- Are map views still available when using themed via Map Style Editor map? HOT 2
- Is there any way to change the width of the Infobubble? HOT 2
- Is there any specific time to live for routeHandle? HOT 1
- Map Editor Style / HARP Engine with UI and InfoBubbles HOT 2
- HereMap
- Routing: allow to ignore road restrictions - option to allow restricted roads
- Heatmaps aren't working when migrating to Harp engine. HOT 2
- CSP Blocker on Nginx
- Harp Engine - Draggable Marker Demo - performance issues HOT 1
- Error when dispose map HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maps-api-for-javascript-examples.