-
Notifications
You must be signed in to change notification settings - Fork 34
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
Using angular-maps #55
Comments
Michael, have you looked at any of the plunker code samples posted in the samples section? Are you adhering to those patterns?
The actual marker component name is x-map-marker, not map-marker. This has changed a number of versions back, but we never updated the overview. I have done that. However, best follow the samples as they are more complete and we keep adding new ones...
|
Maps are starting to show up. Plunker code samples helped yet I am not seeing how variable ILatLong was defined; wasn't it supposed to be coming from import of one of the libraries? (New to Angular - thankyou for helping) There is a new error where ILatLong is not defined. ERROR in src/app/bing-map/bing-map.component.ts(38,22): error TS2304: Cannot find name 'ILatLong'. |
ILatLong is an interface type defined in angular-maps. You will have to import it before using it. Put
into your imports in the file where you want to use the interface. |
@MihaelFeldman: are you good? Can I close this issue? |
Getting another error when trying to use Google Maps:
|
@MihaelFeldman it looks like you are having some basic issues with angular as opposed to the maps components. It appears that you are not importing the appropriate components in your module. Please use one of the samples in https://github.com/infusion-code/angular-maps/wiki/Samples as a go by. These are working implementation on plunker. Alternatively, you can create a plunker that illustrates your problem and I will take a look at it. |
I followed the three steps in Use section and tried various things without much luck. The error code I get when trying to implement bing-maps component in my angular project is:
Were there additional imports necessary for bing-map component that I created?
Also I tried having the line
///<
reference path="../../../node_modules/bingmaps/types/MicrosoftMaps/Microsoft.Maps.All.d.ts" />
at the top of the bing-map component
The text was updated successfully, but these errors were encountered: