beautypg.com

Mapxtreme tile handler – Pitney Bowes MapXtreme User Manual

Page 94

background image

Chapter 5: Web Applications, Controls, and Tools

MapXtreme Tile Handler

MapXtreme v7.1

94

Developer Guide


If any of those first four httpHandlers entries are missing from your Web.config file, copy the
missing entries from the AJAXDemo Web.config file, and paste them into your Web.config file. (It
is not necessary to copy the LayerController.ashx entry; if you place the LayerControl on your
page in Designer mode, the LayerController.ashx entry will be generated automatically.)

7. Locate the httpModules section of your Web.config file. The httpModules section probably

already contains one entry, for MapInfo.Engine.WebSessionActivator. Copy the "ScriptModule"
entry from the AJAXDemo Web.config file, so that your httpModules section resembles this:


If the controls in your UpdatePanel affect the map in some way, you will need to add JavaScript
to the page to force the map image to update. The AJAXDemo sample application contains
sample JavaScript that demonstrates how you can update the map image whenever the
designated UpdatePanels cause a page update.

8. Open the AJAXDemo application's MapForm.aspx page in Source mode. Copy the