# Routing Add-on with WMS Server Edition

**URL:** <https://community.thinkgeo.com/t/routing-add-on-with-wms-server-edition/7612>\
**Category:** Routing\
**Created:** [April 18, 2013, 1:12am UTC](https://community.thinkgeo.com/t/routing-add-on-with-wms-server-edition/7612 "2013-04-18T01:12:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rumeysa](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@Rumeysa](https://community.thinkgeo.com/u/Rumeysa)\
**Post date:** [April 18, 2013, 1:12am UTC](https://community.thinkgeo.com/t/routing-add-on-with-wms-server-edition/7612/1 "2013-04-18T01:12:51Z")

</div>

Hi,  
  
  
  
We&nbsp;are&nbsp;using&nbsp;Wms&nbsp;Server&nbsp;Edition,&nbsp;the&nbsp;wmspluginservices,&nbsp;to&nbsp;serve&nbsp;our&nbsp;map&nbsp;thru&nbsp;IIS&nbsp;to&nbsp;consume&nbsp;it&nbsp;in&nbsp;our&nbsp;web&nbsp;application&nbsp;project.&nbsp;&nbsp;I&nbsp;just&nbsp;learned&nbsp;that&nbsp;it&nbsp;is&nbsp;not&nbsp;recommended&nbsp;to&nbsp;use&nbsp;routing&nbsp;with&nbsp;the&nbsp;wms&nbsp;server&nbsp;edition&nbsp;as&nbsp;wms&nbsp;server&nbsp;serves&nbsp;up&nbsp;static&nbsp;data&nbsp;whereas&nbsp;routing&nbsp;will&nbsp;be&nbsp;generated&nbsp;dynamically&nbsp;by&nbsp;the&nbsp;client&nbsp;using&nbsp;the&nbsp;web&nbsp;application.&nbsp;

I&nbsp;would&nbsp;like&nbsp;to&nbsp;know&nbsp;if&nbsp;it&nbsp;is&nbsp;possible&nbsp;to&nbsp;&nbsp;develop&nbsp;a&nbsp;map&nbsp;using&nbsp;one&nbsp;of&nbsp;the&nbsp;products&nbsp;supported&nbsp;by&nbsp;routing&nbsp;like&nbsp;map&nbsp;suite&nbsp;web&nbsp;edition&nbsp;and&nbsp;make&nbsp;it&nbsp;as&nbsp;a&nbsp;_wms&nbsp;plugin&nbsp;servic_e&nbsp;to&nbsp;be&nbsp;consumed&nbsp;in&nbsp;our&nbsp;other&nbsp;web&nbsp;application&nbsp;develeoped&nbsp;using&nbsp;dev-express?

Thanks&nbsp;in&nbsp;advance,

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [April 19, 2013, 6:31am UTC](https://community.thinkgeo.com/t/routing-add-on-with-wms-server-edition/7612/2 "2013-04-19T06:31:05Z")

</div>

&nbsp;Hi&nbsp;Shailesh,&nbsp;

Thanks&nbsp;for&nbsp;your&nbsp;post,&nbsp;attached&nbsp;is&nbsp;the&nbsp;sample&nbsp;code&nbsp;based&nbsp;on&nbsp;WmsPlugin&nbsp;of&nbsp;WmsServerEdition&nbsp;and&nbsp;Openlayers,&nbsp;would&nbsp;you&nbsp;please&nbsp;try&nbsp;it?&nbsp;

If&nbsp;any&nbsp;question,&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know.&nbsp;

Hope&nbsp;it&nbsp;helps&nbsp;

Johnny

[Post11170Pulgin.txt](https://community.thinkgeo.com/uploads/default/original/2X/1/1c35cdcf97350efd744c300996640182e1d91de4.txt) (640 Bytes)  
[Post11170SampleHtml.txt](https://community.thinkgeo.com/uploads/default/original/2X/d/d0a4cc8c054251d9cae252c93f74eb83c67b97be.txt) (780 Bytes)

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [April 22, 2013, 3:27am UTC](https://community.thinkgeo.com/t/routing-add-on-with-wms-server-edition/7612/3 "2013-04-22T03:27:08Z")

</div>

&nbsp;Hi&nbsp;Rumeysa,&nbsp;

Thanks&nbsp;for&nbsp;your&nbsp;post.&nbsp;

The&nbsp;answer&nbsp;is&nbsp;yes&nbsp;if&nbsp;we&nbsp;would&nbsp;like&nbsp;to&nbsp;develop&nbsp;a&nbsp;map&nbsp;with&nbsp;a&nbsp;wms&nbsp;routing&nbsp;plugin.&nbsp;Following&nbsp;are&nbsp;the&nbsp;steps&nbsp;you&nbsp;can&nbsp;try:&nbsp;

  
&nbsp;&nbsp;&nbsp;&nbsp;1. Preparing&nbsp;a&nbsp;routing&nbsp;plugin.&nbsp;You&nbsp;need&nbsp;to&nbsp;override&nbsp;some&nbsp;necessary&nbsp;methods&nbsp;like&nbsp;GetMapConfigurationCore&nbsp;which&nbsp;used&nbsp;to&nbsp;init&nbsp;plugin&nbsp;map,&nbsp;GetMapCore&nbsp;which&nbsp;used&nbsp;to&nbsp;process&nbsp;every&nbsp;request&nbsp;and&nbsp;return&nbsp;a&nbsp;bit&nbsp;map&nbsp;to&nbsp;the&nbsp;client,&nbsp;more&nbsp;details&nbsp;please&nbsp;see&nbsp;quick&nbsp;start:&nbsp;[wiki.thinkgeo.com/wiki/Map\_S...tart\_Guide](http://wiki.thinkgeo.com/wiki/Map_Suite_WMS_Server_Edition_Quick_Start_Guide)...
  
&nbsp;&nbsp;&nbsp;&nbsp;2. So,&nbsp;the&nbsp;key&nbsp;is&nbsp;the&nbsp;GetMapCore&nbsp;method,&nbsp;you&nbsp;need&nbsp;to&nbsp;catch&nbsp;the&nbsp;request&nbsp;parameters&nbsp;and&nbsp;then&nbsp;route&nbsp;according&nbsp;to&nbsp;those&nbsp;parameters&nbsp;like&nbsp;start&nbsp;point&nbsp;and&nbsp;end&nbsp;point.&nbsp;After&nbsp;routing,&nbsp;draw&nbsp;the&nbsp;Routing&nbsp;layer&nbsp;on&nbsp;a&nbsp;bitmap&nbsp;with&nbsp;GdiPlusGeoCanvas.&nbsp;There&nbsp;is&nbsp;a&nbsp;similar&nbsp;sample&nbsp;you&nbsp;can&nbsp;reference:&nbsp;Wms&nbsp;Edition&nbsp;=\>&nbsp;Web&nbsp;how&nbsp;do&nbsp;I&nbsp;sample&nbsp;=\>&nbsp;SimulateVehicleTrackingWmsLayerPlugin.
  
&nbsp;&nbsp;&nbsp;&nbsp;3. Start&nbsp;the&nbsp;plugin&nbsp;service
  
&nbsp;&nbsp;&nbsp;&nbsp;4. Binding&nbsp;the&nbsp;plugin&nbsp;service&nbsp;with&nbsp;wmsOverlay&nbsp;in&nbsp;Web&nbsp;Edtion.&nbsp;As&nbsp;you&nbsp;said&nbsp;you&nbsp;are&nbsp;using&nbsp;Dev-Express,&nbsp;we&nbsp;guess&nbsp;it&nbsp;should&nbsp;be&nbsp;fine&nbsp;to&nbsp;work&nbsp;with&nbsp;it.
  

  

&nbsp;

Hope&nbsp;it&nbsp;helps&nbsp;and&nbsp;If&nbsp;any&nbsp;other&nbsp;questions,&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know.

Thanks

Johnny

&nbsp;
