Select to view content in your preferred language

Sizing the Map Callout

379
1
02-17-2012 01:06 PM
MitchellWong_Ho
Emerging Contributor
Hi,

I'm having trouble resizing the MapView callout. Calling setMaxHeight() or setMaxWidth() doesn't seem to make any difference.
Any solutions I can try for SDK 1.0.1?
0 Kudos
1 Reply
MitchellWong_Ho
Emerging Contributor
Fiiiinally discovered what the issue was.

As it turns out, to set the maximum width/height of a callout, one should set the properties in the CalloutStyle instance returned from

Callout.getStyle();

Calling Callout.setMaxHeight() or Callout.setMaxWidth() has no effect. Setting maxHeight or maxWidth in the <calloutViewStyle> style also has no effect.
0 Kudos