Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing an application in Flex that uses Openscales and GeoServer in order to provide a map in the background. It works but the perfs aren't really good; even if everything is on the same computer (the application, the GeoServer and the MySQL database or the shapefiles that are used by GeoServer), loading the map takes some time (~5-10s for the whole screen).

I thought that with everything local, it would be much more fluid than that. For example, when you drag the map, I'd like the map to be updated almost instantly.

In order to boost this, I tried many things on Geoserver (shapefiles, MySQL, ...) and modified many parameters but it doesn't change anything. I'm now trying to change the tiles size : I think that they are for the moment in 128x128 so I would like to change their height and width so that the app asks the server for less tiles each time the user drag the map.

My questions are:

  • How do you change those width and height? I coudn't find a way to do it.
  • How could I increase my app performance regarding the map?

The code that creates the map object is the following :

<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="" 
     xmlns:layer="org.openscales.fx.layer.*" xmlns:core="org.openscales.core.*">    
    <os:Map id="fxmap" width="100%" height="100%" resolution="0.01" maxExtent="-180,-90,180,90" projection="EPSG:4326" center="0,45">
        <os:WMSC id="mapLayers"
             name="Topp States (WMS)"

After that, there isn't anything useful in the script part...

I hope you can help me, and ask me if you need more information.

share|improve this question
Interesting, I hadn't heard of OpenScales before. Looks like it overlays data from multiple sources. – jvangeld May 16 '12 at 17:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.