Code Examples

mapObj & imageObj:

my $map = new mapscript::mapObj('popup.map');

$map->{interlace} = $mapscript::MS_FALSE;

$map->{extent}->{minx} = $map_minx;

$map->{extent}->{miny} = $map_miny;

$map->{extent}->{maxx} = $map_maxx;

$map->{extent}->{maxy} = $map_maxy;

my $layer = $map->getLayerByName('parcel');

my $img = $map->draw();

my $label;

while ( $label = $map->nextLabel() ) {


stuff...

}


Onmouseover Pop-up Utilizing Label Rectangle