Sizing the Map Callout

312
1
02-17-2012 01:06 PM
MitchellWong_Ho
New 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
New 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