답변됨 CRM 2011 - Google map integration

  • Monday, November 14, 2011 12:30 AM
     
     

    Hi Forum,

    I have a requirement to integrate google maps with CRM 2011 on premise deployment.

    Below is a setup.

    1. Account entity has 1 section with 5  address fields (street, city,postcode,state,country)

    2. Just below these fields, I have a another section which will have a iframe showing google map based on the above address.

     I have achived this by using iframe url and passing parameters of the address fields to it with below line

    var Iframe_map.src = "http://maps.google.com/?q=" + url + "&output=embed&t=m"; (url = street + City + state + postcode + country).

    This is working perfectly fine.

    But I want to do the same by using Google map API and not the above way. ( to get better control on the map)

    I have seen the code at below google API site.

    http://code.google.com/apis/maps/documentation/javascript/tutorial.html

    but I am not sure how to pass

    1. The address fields of the form to the iframe url

    2. How to get reference of the map API. ( So I can use 'map' object to access methods and properties defined in API)

    I have seen few blog entries but set up of their map is not same as mine. (Someof them are showing map using html/.aspx page and some with Silverlight control)

    any ideas ?

    Thanks for your time.

    H.Desai

     

     

     

All Replies