[mapserver-users] Querying by point?

Mike Neuman mcn2 at engarde.com
Fri Jul 13 23:35:21 EDT 2001


  I'm trying to dynamically annotate my map and then allow the user to click
on the areas to get more information on each. Ideally, I'd like to do this
with a clientside map.

  I annotate the map by:

  $point = new pointObj();
  $point->{y} = (SQL latitude);
  $point->{x} = (SQL longitude);
  $point->draw($map, $layer, $img, "points", (SQL label));

  Obviously, this doesn't allow you to do a queryUsingPoint... Any
suggestions on how I can change my code to allow point querying?

  Thanks!

-Mike





More information about the mapserver-users mailing list