drag the map into the report and goto properties click on markers add icon and click use expression : ($F{NAME}.equals("Bangalore") ? "http://maps.Google.com/mapfiles/marker_orange.png":"http://maps.Google.com/mapfiles/marker_green.png") . try it it will work.
In jsp file we add all the customization markers for different locations a/c to the data. but the thing is for different types we need different markers like delhi and shimla related to north india , bangalore and hyderabad related to south india.for these 4 locations we need to get two markers.in jsp file we need to write the function for the type .but i didn't get that.
Hi all, 1.how can we get the different map images or markers for different positions like for factory we use one image or marker and for the warehouse / depot we use another marker(image) and distributor we use another marker . 2.if i click on the factory/warehouse/distributor on the map it displays the details about the factory/warehouse/distributor. Here i'm sharing the details what i want exact or near to that . thanks in advance.
Hi all, how can i create a different map markers in jaspersoft studio and where we can write the query and what is the query. i wrote the query ($F{AIRPORTNAME}.equals("bangalore") ? "http://maps.Google.com/mapfiles/marker_orange.png":"http://maps.Google.com/mapfiles/marker_green.png) in map component properties advanced settings misc property expression. but it didn't work . can any one help me . thanks in advance !!