Advanced Flash Components
Search!
Search!
Home >  Forum
  SearchSearch   
UMap 0.9.1 Beta Release Notes

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> UMap ActionScript 3.0
View previous topic :: View next topic  
Author Message
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Fri Feb 01, 2008 6:30 am    Post subject: UMap 0.9.1 Beta Release Notes Reply with quote

New features

- On-the-fly provider change. You can now change the provider before & after map enters READY state. For that purpose we have changed the core & control classes and the way you setup custom provider for UMap.

To set the provider use UMap.setProvider() function. Please update your sources, as the previous mechanism will not work:

Instead of

Code:
map.control.provider = new MyProvider();


use:

Code:
// set provider by instance
map.setProvider(new MyProvider());


or

Code:
// set provider by class
map.setProvider(MyProvider);


Providers constants have changed also. They now indicate the class that should be instantiated for the provider. String values will work with this release.

After the provider has been changed, the map will fire MapEvent.READY event once again. Please post your bugs/problems on the forum.

- UMap.doubleClickMode now accepts constant specified in types.DoubleClickMode class.

- UMap.enableDragging flag controls map dragging by mouse.

- UMap.lockMapView() function freezes the map view, cancelling the zoom & pan controls. You can reenable needed

functions manually after that call. Pass a value of false to unlock.

Bugs fixed

- GeoRSS, GPX layers didn't generate Event.COMPLETE & OverlayEvent.READY events.

- Overlay.openInfoWindow() bug.

- InfoWindow saved previuos position & size for 1 frame before updating.

- KMLLayer ignored provider setting in <umap:settings> section. Now you can setup the provider in KML file, (for example, use umapper.com), load the file in UMap, and the provider will change.

- Layer.toXML() function generated bad <umap:center> node.
_________________
Dmitry Stolyarov
AFC Team


Last edited by dvs_code on Wed Sep 17, 2008 3:15 am; edited 9 times in total
Back to top
View user's profile Send private message Visit poster's website
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Fri Feb 01, 2008 6:39 am    Post subject: 0.9 beta Reply with quote

New features

- InfoWindow rewritten for better extendability. New features will be added in the feature. One change may effect your code: InfoWindowStyle.autoSize property is now tuned by com.afcomponents.umap.types.AutoSizeType constants, which include NODE, SIDE, BOTTOM, AUTO. The default value is AUTO.

- Overlay now generates OverlayEvent.ADDED when it has been added to MapObjectContainer (e.g. Layer), previously generated OverlayEvent.READY. Now, OverlayEvent.READY is fired only by Marker when it enters READY state, which happens in 1 frame after creation, or when custom icon has been loaded.

- KMLLayer generates OverlayEvent.READY once all markers and linked KMLLayers have been loaded. Note that now KMLLayer generates 2 events: Event.COMPLETE and OverlayEvent.READY which are different. Event.COMPLETE fired when xml data has been loaded and parsed, while OverlayEvent.READY is generated after all markers has fired the OverlayEvent.READY.

- KMLLayer, Polygon, Polyline: in coordinates list, parser ignored \n \t symbols, only " " was supported

- setBounds function updated: added offset parameter (default 40,40), which defines offset of the bounding area from the map view.

- Overlay now generates 2 new events: OverlayEvent.INFO_WINDOW_OPENED and OverlayEvent.INFO_WINDOW_CLOSED which indicate openning & closing of the info window with the ovelray.

- Layer: autoInfo parameter added to control the automatic Info Window appearence.

- InfoWindow: added autoPan property, when enabled allows automatic map panning to show the whole info window in the map view.

MarkerManager Features

- You can set BaloonStyle for each layer, or set default BaloonStyle.

How to set the default BaloonStyle:

Code:
var baloonStyle:BaloonStyle = new BaloonStyle();
baloonStyle.fillGradient.colors = [0x0000FF,0x00FF00];

var MM:MarkerManager = new MarkerManager({baloonStyle:baloonStyle});


or

Code:
var baloonStyle:BaloonStyle = new BaloonStyle();
baloonStyle.fillGradient.colors = [0x0000FF,0x00FF00];

var MM:MarkerManager = new MarkerManager();

MM.setBaloonStyle(baloonStyle);



How to set BaloonStyle for a layer:

Code:
var baloonStyle:BaloonStyle = new BaloonStyle();
baloonStyle.fillGradient.colors = [0x0000FF,0x00FF00];

var MM:MarkerManager = new MarkerManager();
var layer:Layer = new Layer();
...
MM.addLayer(layer);
MM.setLayerBaloonStyle(layer,baloonStyle);


or

Code:
var baloonStyle:BaloonStyle = new BaloonStyle();
baloonStyle.fillGradient.colors = [0x0000FF,0x00FF00];

var MM:MarkerManager = new MarkerManager();
var layer:Layer = new Layer();
...
MM.addLayer(layer,baloonStyle);


- You can change the number of markers in each group circle, by using expandedGroupMarkerCount property:

Code:
var MM:MarkerManager = new MarkerManager();
MM.expandedGroupMarkerCount = 3;


- You can get group index by a marker. And get an array of markers by a layer reference and group index:

Code:

var MM:MarkerManager = new MarkerManager();
var marker:Marker = new Marker();
var layer:Layer = new Layer();
layer.addOverlay(marker);
MM.addLayer(layer);
trace (MM.getGroupMarkers(MM.getGroupIndex(marker),layer));


Bugs fixed

- Unhandled IOErrorEvent fired when large number of tiles generated loading errors.

- Polygon & Polyline return null from getBoundsLatLng() call.

- KML, Polygon overlay, width, stroke, fill parameters in style ignored.

- When switching to a map type with lower minimum zoom level, map breaks.

- Double click event handled by map even if target is not a map child.

- DisplayEvent.prevZoom not working properly.

- Polygon, Polyline: Bug with clipping.

- Polyline: Bugs with setting the points. It is recommended to use addVertex() function for that.

MarkerManger Bugs Fixed

- Bugs with kml layers when main layer is empty.
- Sometimes when you click to Marker in opened group InfoWindow position is wrong.
- Delete/add Markers to Layer.
- Bugs with shadow when you use custom icon.
_________________
Dmitry Stolyarov
AFC Team


Last edited by dvs_code on Wed May 14, 2008 11:19 am; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Fri Feb 29, 2008 4:05 am    Post subject: 0.8 Beta Reply with quote

New features:

- Added method clear() to MapObjectContainer, method clearOverlays() to Layer.

- Added DefaultProvider & XMLProvider base classes for use with custom map types.

- Layer.toXML(true, true) call saves current map view and map type.

- KMLLayer various tweaks:

    a. autoShow: defines whether to show layer content after loading.
    b. maxZoomLevel: defines the maximum zoom level for the auto show procedure.
    c. expanded: defines whether toXML() method should return full KML <Container> node, rather than a <NetworkLink> node.
    d. keepXML: defines whether to keep XML data in memory after it has been loaded. To access stored XML data, use xml property.
    e. when loading the KML data with AFC tags, afc view settings will be used if available.
    f. KML support for Polygons.


- Added getMouseLatLng(), getMouseBitmapXY() functions to UMap, which return mouse pointer coordinates.

- Added Layer, KMLLayer infoStyle. Styles are now stacked, if defined as objects. Stacking order:

    a. InfoWindow.getDefautlStyle()
    b. Layer.infoStyle
    c. Overlay.infoStyle
    d. Overlay.openInfoWindow(.., style)


- Added TileLayerOverlay class for creating the tiled overlays. Note, best to add these via:

Code:
map.display.overlayManager.ground.addOverlay(...);


- Added alpha property to the TileLayer.

- Added GeoRSS and GPX compatibility. See GeoRSSLayer and GPXLayer classes.

Bugs fixed:

- Marker: toXML() function, index of the marker is saved even with afcTags parameter was set to false.

- Marker: fromXML() function treats undefined index as a "null" string.

- UMap: getLatLngFromComponentXY() method changes the passed Point parameter.

- UMap: setting zoom to lower than provider's minZoom throws an error.

- UMap: convertBounds() function bad results when converting bounds.

- Layer, Marker: dispose method doesn't clear drop shadow.

- Layer: after a layer has been add to and then removed from the map,
if you add a marker to it, marker isn't displayed (good) but the shadow does (bad).

- Layer: hide() method hides overlays, but leaves shadows visible.

- KMLLayer: xml contents stays in memory even after parsing.

- KMLLayer: default info window style doesn't work with KML layers.

- KMLLayer: other then 2.1 verisons of KML are not supported.

- KML compatibility: Google Maps throws error if our KML was loaded.

- MapControl: position isn't updated if you add it after map enters READY state.

- ZoomControl: incorrect zoom handling, if minZoom in provider > 0

- MicrosoftProvider: map types array isn't defined until the init() function called from umap.

- GeometryStyle: when fill RGB is 0xFFFFFFFF the fill isn't diplayed. (Flash bug)
_________________
Dmitry Stolyarov
AFC Team


Last edited by dvs_code on Wed May 14, 2008 11:18 am; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Thu Mar 13, 2008 6:08 am    Post subject: 0.7 Beta Reply with quote

New features

- added Microsoft as the default provider. Now you can choose from OpenStreet or Microsoft provider, and set it via this AS:

Code:
import com.afcomponents.umap.providers.Providers;

umap.provider = Providers.MICROSOFT;
umap.provider = Providers.OPENSTREET;


- added setBounds() and getBoundsZoomLevel() functions.

- added Polyline in KML. Polygon will follow in the next update.

- map will set bounds, to display the whole KML file, after it finishes loading.

- added getBoundsXY(), getBoundsLatLng() methods to Layer, Marker, Polyline and Polygon.

- getBoundsXY(), getBoundsLatLng() methods for InfoWindow and Marker returns actual bounds, not 1 point bounds. Please note that these methods are zoom-dependant.

- added umap.convertBounds() method to convert from Bounds to LatLngBounds and visa-versa at certain zoom level.

- added toXML() experimental function to Layer, Marker which returns KML 2.1 data.

Marker Manager features:

- MarkerManager can process several layers. Add layers, that need to be processed via MarkerManager.addLayer() function.

- Added fading (true/false) paremater, which defines whether inactive markers should fade out, when a group opens.

- Added fadingStrength (0.2 to 1.0) parameter, which defines the fading strenght of inactive markers.

- Added scaleBaloon (true/false) parameter, which defines whether to show group count balloon on scaled markers.

- When new group is opened, all the markers in this group are brought to front.


Bugs fixed:

- Info window shadow problems, caused errors.

- Can't remove vertex from line via removeVertex().

- Marker manager, decimal zoom causes marker regroupping.

- Marker manager, group closes when you roll over opened info window.

- Marker manager, can't set LINEAR movement type, always switches back to SPIRAL.

- Various minor bugs.
_________________
Dmitry Stolyarov
AFC Team


Last edited by dvs_code on Wed May 14, 2008 11:17 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Mon May 12, 2008 10:25 am    Post subject: 0.6 Beta Reply with quote

New features

- Add animate zoom option.

- Add Tweening options for animate zoom & animate pan.

- Add Marker manager. (Example of usage will be posted later)

- Move shadows to a separate shadow layer which should be placed below everything.

Bugs fixed:

- KML layer loading problem. KML layer sometimes loads empty or incomplete.

- Dynamic points for lines doesnâ??t work. (Use addVertex() function).

- Offset parameter in openInfoWindow call doesnâ??t work. When openning info window via Overlay.openInfoWindow(param), the param.offset is ignored.

- Bad InfoWindow offset in custom markers. Info window should be offset to the iconâ??s top by default. Currently it is offset to the bottom.

- Overlay dragging problems:

a. Move info window wheh Overlay is being dragged.
b. Unable to drag Overlay with info window. (Possible info shadow problem).
c. When draggable Overlay is clicked, it is moved down several pixels.
d. Draggable flag isnâ??t exposed via get/set method.

- MarkerStyle problem. MarkerStyle.label = false; doesnâ??t hide the index text.

- InfoWindow.setDefaultStyle() doesnâ??t work. Info window always opens with the default style. The above call does nothing, so user canâ??t change the default info window appearence.

- GridSegment placement. GridSegement is placed on even pixels. Holes in the map appear when zooming in.

- Info window remains when Overlay has been removed. When Overlay is being removed from the Display List, or hidden the attached Info Window should close automatically.

- Map never stops loading copyrights, when using animatePan feature. (Fixed by adding tweening properties to animation, see features list.)

- KML breaks without <style @id> attribure.
_________________
Dmitry Stolyarov
AFC Team


Last edited by dvs_code on Wed May 14, 2008 11:14 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Mon May 12, 2008 10:26 am    Post subject: 0.5 Beta Reply with quote

New features

- Added runtime control initialization. You don't have to have a control on stage to add it to the control. Simply place your control in the library and use:

Code:
var control:ControlClass = new ControlClass(options);
mapInstanceName.addControl(control);


- For Flex users, controls have been added to the .swc file, so you can use them also in your projects.

Bugs fixed:

- Minimum zoom value in the settings file was unsupported. Now it should be working correctly. Please note that maximum zoom for Google provider is variable.

- Several problems where found with setCenter, getBoundsXY calls if the component was created via AS. Corrected now.

- Update position generated DisplayEvent.UPDATE_POSITION with each map click, causing unneccessary calculations. Fixed.

- Unable to change copyrights URL in Provider. Fixed.

Known issues (will be fixed in 0.6)

- Polygon doesn't close & fill.

- KML loading problems.
_________________
Dmitry Stolyarov
AFC Team


Last edited by dvs_code on Wed May 14, 2008 11:12 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
dvs_code
AFC Team


Joined: 09 May 2006
Posts: 2131

PostPosted: Wed May 14, 2008 11:12 am    Post subject: 0.4 Beta Reply with quote

New features:

- Added Providers. Please read more in this thread: http://www.afcomponents.com/forum/viewtopic.php?p=10037#10037

- Added pause/resume methods for advanced tile loading control. Usage: map.control.imageLoader.pause()/resume().

- Maximum zoom level is variable. Different areas have different number of zoom levels: for example, New York has 19 zoom levels instead of normal 17. The only problem is that Google only allows usage of "ap." versions of the tiles for external applications, and the maximum resolution in this version differs (rather limited) from the normal version. Let's just hope that they will continue adding new tiles to the "ap." version...

- added Overlay.infoParam parameter, which controls the data for the info window taht will be opend via Overlay.openInfoWindow(). Please note that you can use wildcards in infoParam.title and infoParam.content parameters: $[name], $[description], $[id].

- Marker added support for icon scaling and coloring. Available via IconStyle object. Please read more about it in the documentation.

- Marker supports specifying the custom icon via String or URLRequest object, for advanced control.

Bugs fixed:

- Marker.loadCustomIcon() various problems.
- Map.setSize() method breaks the map display.
- Map.addControl() method doesn't work after map enters ready state
- Keyboard handler throws errors, if the map hasn't been attached to the stage before MapEvent.READY event. Now you can add/remove map from the stage any time and keybord/mouse controls will work properly.
- GuiManger minor bug fixes, affects adding custom controls.
_________________
Dmitry Stolyarov
AFC Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> UMap ActionScript 3.0 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group