1

I'm trying to learn javascript with bing maps.

How can I type dot (.) and see what the API has to offer? I don't want to go to the MSDN every time I'm looking for a method. Example:

mapTypeId:Microsoft.Maps.MapTypeId.road, 

except road (at the end), there are other options such as: birdseye, collinsBart etc. I know this because I had to read the MapTypeId Enumeration. It would have been easier if I could only click the dot after the MapTypeId and get the enumeration.

Is there a way to do this? (I'm using eclipse).

adhg
  • 10,437
  • 12
  • 58
  • 94
  • 1
    Possible duplicate of http://stackoverflow.com/questions/1006934/eclipse-javascript-editor-content-assist-for-js-files – Wolfgang Stengel Nov 15 '12 at 15:43
  • 1
    Note sure if Eclipse take into consideration JS-libraries that you reference. Otherwise I guess you can use the developer tools of your browser to get that kind of autocompletion (works with Chrome atleast), if you go to the page where you have referenced the library and open up the console. – Christofer Eliasson Nov 15 '12 at 15:43
  • 1
    If you are using Visual Studio, you can use the VEJS project managed by the community. In the source code, you'll find a Microsoft.Maps-vsdoc.js that you can add in reference into your project. See: http://vejs.codeplex.com/ And example here: http://vejs.codeplex.com/SourceControl/changeset/view/69631#1162331 Don't know how it could work in Eclipse still. – Nicolas Boonaert Jan 30 '13 at 06:56

1 Answers1

0

The Bing Maps v7 SDK now has intellisense for Visual Studio. You can find out all about it here: http://blogs.bing.com/maps/2014/09/04/the-art-of-intellisense-three-ways-to-use-intellisense-with-bing-maps-apis/

rbrundritt
  • 16,570
  • 2
  • 21
  • 46