Comments (10)
Oh, there is a small error message that appears in a popup in sketch:
There was a problem, please check your internet connection or address settings
from sketch-map-generator.
This is happening with Google Maps, Mapbox or both? It happens with any address or just with one in specific?
from sketch-map-generator.
It happens with any address for Google Maps only, Mapbox works fine.
from sketch-map-generator.
Did you follow these steps to generate your Google Maps API Key? https://github.com/eddiesigner/sketch-map-generator/wiki/How-to-generate-a-Google-Maps-key
Step number two is super important.
Also, you should check if your API Key has some restrictions: https://cloud.google.com/docs/authentication/api-keys#api_key_restrictions
from sketch-map-generator.
I have a laptop running the same configuration, except that the OS is 10.14.3 (Mojave) – there everything works as expected...
from sketch-map-generator.
The OS is not the problem, I also have both (Mojave and Catalina) and it works well. Can you please follow these steps but this time make sure of clearing the console before you press the [Generate] button and then copy the whole output?
What about Sketch? Do you have the same version in both laptops?
from sketch-map-generator.
Yes, sketch versions are both v58
Here's another console output, cleared just before using the plug
console2.txt
ps for some reason there is also no more map in the preview window now (on the problem machine with Catalina that is, Mojave version everything still fine)
Appreciate the help, thank you
from sketch-map-generator.
I saw in the logs that some network error happened, I'm not entirely sure if it was caused by the plugin though.
Please download the plugin from the following link and follow the same process as before. This is a modified version that logs the url and the response data, it would be interesting to see what's going on there.
Map Generator.sketchplugin.zip
Just one last thing, can you please double check that your tokens don't have any empty spaces at the beginning or at the end?
from sketch-map-generator.
It is working now :)
Embarrassed to say that your last tip revealed that the token was in fact entered twice, but wasn't visible since one token length fits exactly into the visible token field, hiding the double entry that followed in a 2nd line.
Hard to imagine this was the culprit the whole time since I've pasted this code so many times in there... Also I am now using the plugin you posted above. Would you still like to see the console code generated?
Perhaps for "people like me" a larger token field would probably help :)
Thank so much for your help, really appreciated.
from sketch-map-generator.
I'm happy to know that you found the issue :)
I don't need to see the console log anymore, I will try to display a more useful error message and improve the UI in the future ;)
from sketch-map-generator.
Related Issues (20)
- Reply to eddiesigner for map plugin HOT 1
- Shape Layer Must Be Vertical HOT 4
- Disabled Address Input HOT 1
- After connecting Mapbox account, custom styles are not displayed HOT 10
- Dynamic or half-decimal zoom levels HOT 3
- Cannot Preview Map in Sketch 59.1 HOT 5
- Can't generate map & preview it HOT 4
- feature proposal: re-create previous map HOT 3
- ios Catalina HOT 2
- Is it possible to produce maps bigger in size? HOT 2
- Mapbox doesn't work with Sketch 52.6 HOT 4
- Do I need to restrict Google Maps Api Key when using Map Generator in Sketch? HOT 2
- [Feedback] Google Map Configuration Update (2020 June) HOT 2
- Where's the Map Generator.sketchplugin file?? HOT 1
- 谷歌地图请求被拒绝 HOT 2
- Licensing Question HOT 1
- Mapbox shortcut HOT 2
- crashed on Macbook Prp M1 HOT 2
- Support for Mapbox › Studio › custom styled map
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 sketch-map-generator.