locked
Create instance of Microsoft.Maps.Search.Address RRS feed

  • General discussion

  • Hello,

    how can I create instance of Address class?

    Why this code didn't work?

    $(function () {
        Map = new Microsoft.Maps.Map(document.getElementById("AddressMap"), MapOptions);
        Microsoft.Maps.loadModule('Microsoft.Maps.Search', { callback: loaded });
    });
        
    function loaded() {
        var tmp = new Microsoft.Maps.Search.Address(Map); // <-- error
    }
    Thanks for reply... :)

    Sunday, April 14, 2013 8:15 PM

All replies

  • Why do you want to create an Address object for? The Search Service doesn't take in an address object.

    http://rbrundritt.wordpress.com

    Monday, April 15, 2013 9:15 AM