VDS Technologies

 

Map caching

5/21/2012 4:59:33 AM
Total Posts 5

Map caching

Hello

I use ASPMAP to make My mapping application, TileMapApp.aspx example used to help me

compilation don't complet this app. and return message:

The scale of this zoom level cannot be more or equal to the scale of the previous zoom level.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: The scale of this zoom level cannot be more or equal to the scale of the previous zoom level.

Source Error:

Line 21:

Line 22: ' initialize the ZoomLevels collection

Line 23: S1Map.ZoomLevels.Add(228000)

Line 24: S1Map.ZoomLevels.Add(114000)

Line 25: S1Map.ZoomLevels.Add(57000)

can you helpme?

thanks

5/21/2012 6:38:58 AM
MVP
Total Posts 323

Re: Map caching

See the 'Using Zoom Levels' lesson in the tutorial.

5/21/2012 7:46:04 AM
Total Posts 5

Re: Map caching

thank you

Issue has been resolved, but the map shows a large scale immediately ..!


Thank you for your help

5/22/2012 5:39:18 AM
MVP
Total Posts 323

Re: Map caching

Check the standard samples and your code - http://aspmap.net/samples/

5/22/2012 7:47:03 AM
Total Posts 5

Re: Map caching

thanks