Google Maps & Flex: How to Use Standard Map Marker Instead of Custom Marker? <p>I'm using Google Maps with Flex 3. I'm using custom markers (custom icons) to mark places on the map. It works fine. The problem is that in some cases, I don't need a custom icon, I need the standard marker. </p> <p>For example, how would I set condition C's icon to the standard marker:</p> <pre><code>public function iconSetter():void { if (condition A blah blah){myIcon=star; myPointsBuilder(); return;} if (condition B blah blah){myIcon=circle; myPointsBuilder(); return;} if (condition C blah blah){myIcon=STANDARD MARKER; myPointsBuilder(); return;} } </code></pre> <p>In the myPointsBuilder function I create the markers like so:</p> <pre><code>for (i=0; i &lt; arrayLength; i++) { myMarker = new Marker(new LatLng(myData[i].latitude, myData[i].longitude), new MarkerOptions({ icon: new myIcon, iconOffset: new Point(2,2), iconAlignment:1, hasShadow:true })); markerBoss.addMarker(myMarker, 15, 15); } markerBoss.refresh(); </code></pre> <p>I don't know how to revert to the default marker where I wrote "STANDARD MARKER". Any suggestions?</p> <p>Thank you.</p> <p>-Laxmidi </p>