Does anyone have a simple example of implementing the mappro ocx in a php-driven environment to serve map images through a web client? It sounds simple, in concept, but I am having a hard time even figuring out where to start

Php allows you to do almost anything you can do in vb,c++,c# or Delphi.

For example to create the mappro80 object in php;

<?php$MyMap = new COM("MapPro80.MapPro") or die("Failed");// Set Size of the Control 2 pixels bigger than required. Visual control reserves 1 pixel border$MyMap->SetMapSize(402,302);$MyMap->InitNonVis;//... you need to set your devcode, devpass, datasource, paths, etc//... set the mapviewport and scale you want//.. then get the image back to the user... one way is to save to a GIF$MyMap->SavetoGif("C://Program Files/ApacheSF/Apache2.2/htdocs/Maps/Map.gif");?>

jodax3 wrote:Php allows you to do almost anything you can do in vb,c++,c# or Delphi.

You are right. The problem usually ends up being one of getting permissions right and keeping track of the various pieces you need to create the page that the user sees at the other end. Of course, that doesn't have to be pHp, most of it can be straight html.

I just wish that undertow had something similar to the Google API, where they maintain/update all the data and the user/developer simply accesses that data. That would eliminate a lot of issues with each developer housing their own data date, having to update it every so often, etc. It would make life so much easier!