FM City

Having trouble with adding more than 5 markers using the Google Maps API?

In the code under the Complex Icons section there are 5 markers that indicate beach locations. It works just fine. But when I add a 6th marker only 4 appear and when I add 7 or more, no markers appear. Any ideas how to fix this?

http://code.google.com/apis/maps/documen tation/javascript/overlays.html#ComplexI cons

Tomcat: Create new file for logging?

I have a vanilla tomcat, I want to log specific financial-related requests to a separate log file.

I’ve added the following logging.properties to webapps/ROOT/WEB-INF/classes:

handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level=ALL
org.apache.juli.FileHandler.directory=${catalina.base}/logs
org.apache.juli.FileHandler.prefix=financials-
java.util.logging.ConsoleHandler.level=FINE
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
financials.level=ALL

And in a JSP I have:

Log financialslog = LogFactory.getLog("financials");
financialslog.error("test");

I always make mistakes with these logging APIs, probably it's something simple here, but I'm dumbfounded. Nothing gets logged.

bargain priced dress like Katy Perry's?

Does anyone know of a cheap dress (black with simple, not ornate, crosses) like the one Katy Perry was wearing in this picture?
http://l.yimg.com/mb/api/res/1.2/oM9P6P. kQ0RrlATxcr.LHA--/YXBwaWQ9eWxpZmU7dz02Mj A-/http://l.yimg.com/jj/image-4c652c21d4 4cb-katy.jpg
I take it back, even ornate crosses might look pretty :)

how long befor i fly do i need to add my API on easyjet?


what is the name of the brown-colored contry on this map?

http://chart.apis.google.com/chart?cht=t &chs=350x175&chco=f5f5f5,edf0d4, c9dba3,a6c27d,6c9642,365e24,13390a&c hls=1,4,0&chxt=x&chxl=0:|world&a mp;chf=bg,s,EAF7FE&chd=s:JcEFQBBBBKB FBNFCBCCDACABF9BBZABBCJGbBBIBFYAEMBUAGBB CBDBDBDBBIGIHB9BADECEBBGBGEJ&chld=AT SEVEBEESUYQARSTWNLCRPRPHAUGUMTCYKRARBGAE BNDOLVRUFINZMKCAPKGTLUIQFRBMDEGRIDSGROCH GBPEAOJPCOISVNDKILSICZHKHNPASKMOPTTRMENO EECLPLSVUSBOTHBRIEMYUAHRKZMXBSITLTHU
i mean the one that's in east europe, not the us, i knew that


YOUS TROLLIN!


Finland


I'm pretty sure that's Finland. It's a small picture, but yeah. You can check this map for conformation.

http://www.google.co.nz/imgres?imgurl=ht tp://geology.com/world/finland-map.gif&a mp;imgrefurl=http://geology.com/world/fi nland-satellite-image.shtml&usg=__b5 C-ohSON9rjEi_z0X4k6FpWv-c=&h=750& ;w=601&sz=129&hl=en&start=0& amp;tbnid=TU2tKzkNUgmKYM:&tbnh=166&a mp;tbnw=131&prev=/images%3Fq%3Dfinla nd%2Bmap%26um%3D1%26hl%3Den%26sa%3DN%26r ls%3Dcom.microsoft:en-nz%26rlz%3D1I7GFRE _en%26biw%3D1659%26bih%3D856%26tbs%3Disc h:1&um=1&itbs=1&iact=rc& dur=265&ei=POdlTObGHI_AsAOS69mnDQ&am p;oei=POdlTObGHI_AsAOS69mnDQ&esq=1&a mp;page=1&ndsp=41&ved=1t:429,r:1 ,s:0&tx=94&ty=78


You mean the dark green one with the same color as the US? That's Finland.


omg they are all different shades of green-y brown.


It's Finland. Norway and Sweden are the western nations.


the one in the north...its looks green to me..its finland

How do you make markers with address infowindows in google maps?

I'm trying to make web page where when you click on a map from google maps, a marker is inserted with an infowindow telling you the address on which you placed the marker.
Placing the marker works fine, but the reverse geocoding is giving me some trouble.

The code for the google maps API is as follows:

<script type="text/javascript"
src="http://maps.google.com/maps/api/js?senso r=true">
</script>
<script type="text/javascript">
var map;
var marker;
var setmarker = false;
var infowindow = new google.maps.InfoWindow();
var geocoder;
function initialize() {
geocoder = new google.maps.Geocoder();
var myLatlng = new google.maps.LatLng(20.673263, -103.358688);
var myOptions = {
zoom: 10,
center: myLatlng,
disableDefaultUI: true,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
//ubicacion = codeLatLng(myLatlng); <----------------when uncommented, page doesn't go beyond this point just stays blank
//alert("Variable Ubicacion es: " + typeof(ubicacion));

map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

google.maps.event.addListener(map, 'click', function(event) {
placeMarker(event.latLng);
});

}

function codeLatLng(latlong) { //<----------- I think the problem is in this part of the code
var input = latlong
var latlngStr = input.split(",",2);
var lat = parseFloat(latlngStr[0]);
var lng = parseFloat(latlngStr[1]);
var latlng = new google.maps.LatLng(lat, lng);
geocoder.geocode({'latLng': latlng}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
if (results[0]) {
ubic = results[0].formatted_address;
return ubic;
}
} else {
alert("Geocoder failed due to: " + status);
}
});
}

function placeMarker(location) {
var clickedLocation = new google.maps.LatLng(location);
marker = new google.maps.Marker({
position: location,
map: map
});
infowindow.setContent("Ubicación:");
infowindow.open(map, marker);
map.setCenter(location);
}

</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
</body>

Hope someone can help.

What is an API?

Many terms are thrown around the digital marketing world, none of which confuse people more than API. API stands for Application Programming ...

Amazon APIs: Cloud Standard or Zombie Apocalypse?

Amazon Zombies, Eh?

As mentioned last week , some members of the OpenStack camp have started attacking CloudStack instead of touting the wonders of the OpenStack Essex release.

Jim Plamondon, director of developer experience for Rackspace Cloud, has been on a particular tear, leaving comments deriding Eucalyptus and CloudStack as 'zombie projects' . (Note, I contacted Plamondon directly via LinkedIn and verified that the comments are actually his.)

According to Plamondon, Amazon is using those projects "to achieve its strategic directives... Any firm that uses these zombies runs the risk of infection with the zombie virus, thereby risking disaster when Amazon slaughters its zombies in a future Cloud Zombie Apocalypse."

Digg Headlines

(3 diggs) Data APIs | API Evangelist kinlane A common reason for deploying an API is to share data with users outside of your organization. You need to make information accessible to partners or general public, but in a way that’s self-service so you can avoid emailing a spreadsheet every time someone asks for something.
(3 diggs) API GoogleMeblog Read More
(3 diggs) API Roadshow | API Evangelist kinlane Events are definitely one of the most important tools in an API Evangelist’s tool box. Making a regular showing at popular events both on and offline is critical to building the awareness and the trust of the development community. Speaking at major events is the best route to reach developers if you’re targeting larger conferences, as exhibiting is not as rewarding as it once was.
(3 diggs) Functional APIs | API Evangelist kinlane APIs are not just for exchanging of data. They provide much needed functionality for developers and integrators. The functionality of an API can provide shipping costs as the Fedex API does, or provide you with directions from San Francisco, CA to New York, NY as with the Google Maps API.
(3 diggs) / API habr 38 . , , , . , - .

How to use the Bing Search API in PHP | eUKhost's Official Web ...

First, we take impecuniousness how the API works Bing. Well, luscious Bing in the API documentation it appears there are several things in common before, during and after searching the API requests through our request Bing URL:

First, we meet the demand by a measure HTTP GET annoying. We detail the GET parameters (model: hand.php typography? Parameter = value & = another_parameter another_value). Bing's API responds to HTTP GET on a total numbers formats, including:

JSON (JavaScript do not approve of the minutes) SOAP XML

In this case, however, we will refine a JSON stress.For more news about JSON, see this article about her or do a Google search suddenly....

Read more...

API Anti-Patterns: How to Avoid Common REST Mistakes

Be situated API, or to be more careful Serene API implemented with HTTP, inherently adopts Web architecture principles and can take many advantages of already existing Web technology. Your Tranquillizing API does not demand any vendor-identified with software. As contrasted with, it can run on already within reach, artless, standards-based, and family-unencumbered technology. All-embracing linking built on URIs and URLs gives your API the aptitude to relation any resource with any other on the Web. By using Internet media types (once known as MIME types), your API messages can have bizarre representations such as JSON or XML and be at someone's beck clients with sundry needs. And last but not least, layering and fragmentation of concerns together with Web infrastructure intermediaries such as proxies, gateways, and firewalls revive your API’s presentation via big-gamut, shared caching.

...

Read more...