enepper / google-maps-typescript-typing Goto Github PK
View Code? Open in Web Editor NEWGoogle Maps TypeScript typing
License: MIT License
Google Maps TypeScript typing
License: MIT License
Hi,
When I add the nuget package, I get 220 errors in the files. Many of them are:
Error 3 Build: Cannot find name 'bool'.
Or similar.
I'm using VS 2013 with the Typescript 1.4 tools installed.
am I missing something? Is it not compatably with 1.4?
Thanks
Hello.
You have streetView as boolean and it's wrong, streetView property must be StreetViewPanorama.
MapOptions object specification:
https://developers.google.com/maps/documentation/javascript/3.exp/reference?hl=es#MapOptions
There doesn't seem to be support for MapTypeStyleElementType.labels.icon
, MapTypeStyleElementType.labels.text
, MapTypeStyleElementType.geometry.fill
and MapTypeStyleElementType.geometry.stroke
.
Hi, I'm trying to add a map listener to get latlng when clicked, but i can't find a way to get latlng from event in parameter. Here's what i'm doing:
map.addListener('click', (event) => { });
The above is giving syntax error:
Argument of type '(event: any) => void' is not assignable to parameter of type '() => void'.
Please advise. Thanks.
Hi, missing the "DirectionsTravelMode" enum, but there seems to be a "TravelMode" enum. Not sure if that is valid.
Hi, the event interface seems to be missing.
"addListener" etc.
VisualStudio reports this errore for the following classes:
Error Build: Overloads cannot differ only by return type.
Marker
InfoWindow
I don't know which could be the best way to fix it
Hi, this is valid code:
var point = new google.maps.Point();
point.x = 5;
point.y = 5;
but fails because Point does not have a default (parameterless) constructor.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.