sfpx

Map: SDK 14 vs SDK 15

Discussion created by sfpx on Nov 4, 2016
Latest reply on Nov 4, 2016 by sfpx

SDK 14

sdk14.JPG

SDK 15

sdk15.JPG

 

 

The code inside the web object called 'WebMap'

 

"data:text/html,<iframe

width=\"" & GetLayoutObjectAttribute("WebMap";"width")-10 & "\"

height=\"" & GetLayoutObjectAttribute("WebMap";"height")-39 & "\"

frameborder=\"0\"  style=\"border:0\"

src=\"https://www.google.com/maps/embed/v1/place?key=xxxxx

&q=54,-65.3&maptype=roadmap \">

</iframe>"

The object WebMap is resized to the full width of the tab control which is resized to the layout width.

 

As you can see, the map is resized correctly in the sdk14 but not in the sdk15.

 

Any solution ?

 

P.S.

The default map code provided by the web object is resized correctly but it's not the map I want. There are too many things displayed and I want a simple map.

Outcomes