[mapguide-users] How to show Pin Marker on X, Y Cordinate

Dhirendra Kumar dhirendra.mgos at gmail.com
Mon Mar 19 03:52:45 EDT 2007


Hi,
I am sending Some Code of findparceltask.php so, please anybody help me what
is ParcelMarker here.
======================================================================
  try
    {
        // Initialize the Web Extensions and connect to the Server using
        // the Web Extensions session identifier stored in PHP session
state.

        MgInitializeWebTier($configFilePath);

        $userInfo = new MgUserInformation($mgSessionId);
        $siteConnection = new MgSiteConnection();
        $siteConnection->Open($userInfo);

        // Create a ReserviceService object and use it to open the Map
        // object from the sessions repository. Use the Map object to
        // determine if the "ParcelMarker" layer is visible.

        $resourceService =
$siteConnection->CreateService(MgServiceType::ResourceService);
        $map = new MgMap();
        //$map->Open($resourceService, 'Sheboygan');
		//$map->Open($resourceService, 'Pandua_Dhirendra'); Pandua_Dhirendra_New
 		$map->Open($resourceService, 'Pandua_Dhirendra_New');
        $layer = GetLayerByName($map, 'ParcelMarker');
        $showClearButton = ($layer == null) ? false : $layer->GetVisible();
    }
======================================================================

Thankyou in Advance
Dhirendra Kumar

Dhirendra Kumar wrote:
> 
> Hi,
> 
> I have X, Y Cordinate of specific point. I get this X, Y Cordinate point
> by searching layer and i want to show Pin marker on that point But i have
> no idea how to point Pin marker image on particular X, Y Cordinate. So
> please help me.
> 
> Thankyou in Advance
> Dhirendra Kumar
> 

-- 
View this message in context: http://www.nabble.com/How-to-show-Pin-Marker-on-X%2C-Y-Cordinate-tf3425242s16610.html#a9547664
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list