I like to have a search on the locations array.
I did one using a loop, but it is "exact " search so you have to write
exactly the same as in the array for a hit.
I would like a more "fyzzy search" that hits all containing that
search..

for example search for
11111
will hit values
11111 A
11111 B
11111 C

now one have to search 11111 A or no hit..

I know you can search an array using the jquery, maby it supports
"fuzzy search".

alert($.inArray("myWord", myArray));

But if there is a 3D array like in the locations /markers usally have
i dont know how to write the command.
I would like to loop thrue the arrays "third" index values, how do you
write that, obviously I can not write "i" like below..
alert($.inArray("myWord", locations[i][3]));


I would like to search these values in the 3d
locations[1][3]
locations[2][3]
locations[3][3]
locations[4][3]
and so on...



-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to